• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Kilka Problemow za POmoc Rep++

Lolek

New Member
Joined
Sep 29, 2008
Messages
298
Reaction score
0
Witam mam pare problemow a najwiekszy z nich to

http://otland.net/f81/bounty-hunters-system-player-hunt-system-27721/

Problem lezy w Stronce Nie dochodza zaklady a bledy ktore tam sa to

Code:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'user'@'localhost' (using password: YES) in /var/www/bounty-hunters.php on line 2

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/bounty-hunters.php on line 3

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /var/www/bounty-hunters.php on line 3

Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/bounty-hunters.php on line 42

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/bounty-hunters.php on line 42

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/bounty-hunters.php on line 45
Raz tak usunolem te bledy nie bylo bledow ale tez nie dochodzily Zaklady ;/ Uzywam tfs 0.3.5pl1

Nastepny to svargrond arena by gesior zrobilem tak jak bylo napisane ale Gdy zaplace Wlaze przez drzwi ide do teleporta obojetnie jakiego I chce wejsc to pisze "Najpierw Zabij Potwora" i mnie cofa ;/
 
może nie dodałeś do .../data/lib/data.lua
PHP:
-- arena for 0.3
InitArenaScript = 0
arena_room_max_time = 240
arenaKickPosition = {x=1045, y=1926, z=7} -- pozycja gdzie cie wywali z areny jak wejdziesz do teleportu ucieczka
arena_monsters = {}
arena_monsters[42300] = 'frostfur' -- pierwszy potwor z areny
arena_monsters[42301] = 'bloodpaw'
arena_monsters[42302] = 'bovinus'
arena_monsters[42303] = 'achad'
arena_monsters[42304] = 'colerian the barbarian'
arena_monsters[42305] = 'the hairy one'
arena_monsters[42306] = 'axeitus headbanger'
arena_monsters[42307] = 'rocky'
arena_monsters[42308] = 'cursed gladiator'
arena_monsters[42309] = 'orcus the cruel'
arena_monsters[42310] = 'avalanche' -- pierwszy potwor z drugiej areny
arena_monsters[42311] = 'kreebosh the exile'
arena_monsters[42312] = 'the dark dancer'
arena_monsters[42313] = 'the hag'
arena_monsters[42314] = 'slim'
arena_monsters[42315] = 'grimgor guteater'
arena_monsters[42316] = 'drasilla'
arena_monsters[42317] = 'spirit of earth'
arena_monsters[42318] = 'spirit of water'
arena_monsters[42319] = 'spirit of fire'
arena_monsters[42320] = 'webster' -- pierwszy potwor z trzeciej areny
arena_monsters[42321] = 'darakan the executioner'
arena_monsters[42322] = 'norgle glacierbeard'
arena_monsters[42323] = 'the pit lord'
arena_monsters[42324] = 'svoren the mad'
arena_monsters[42325] = 'the masked marauder'
arena_monsters[42326] = 'gnorre chyllson'
arena_monsters[42327] = "fallen mooh'tah master ghar"
arena_monsters[42328] = 'deathbringer'
arena_monsters[42329] = 'the obliverator'

function getArenaMonsterIdByName(name)
    name = string.lower(tostring(name))
    for i = 42300, 42329 do
        if tostring(arena_monsters[i]) == name then
            return i
        end
    end
    return 0
end
albo na srodku kazdego pokoju areny musi być unique id
 
Musial tam wpisac 'root' mial wpisane standardowe dane .
PHP:
   <?
mysql_connect("localhost","user","password");
mysql_select_db("database");
 
Dzieki GSMaster Zadzialalo :* a Koci zaraz sprawdze i dam edita

Zeby nie zakladac nowego tematu to czemu w tfs 0.3.5pl1 Nie da sie outfita zmieniac prosze o pomoc w confingu mam Allowchangeoutfit na yes

@edit
z arena pomoglo :) tylko ze przy ostatnim roomie jak wlaze w tp pisze przeszedles arene i idz odbierz nagrode to Wyskakuje napis a nie tepuje mnie
 
Last edited:
Dzieki GSMaster Zadzialalo :* a Koci zaraz sprawdze i dam edita

Zeby nie zakladac nowego tematu to czemu w tfs 0.3.5pl1 Nie da sie outfita zmieniac prosze o pomoc w confingu mam Allowchangeoutfit na yes

@edit
z arena pomoglo :) tylko ze przy ostatnim roomie jak wlaze w tp pisze przeszedles arene i idz odbierz nagrode to Wyskakuje napis a nie tepuje mnie
Bo to nie ma teleportować musisz miec teleport do pokouju gdzie sa 3 drzwi i dzrwi musza meic odpowiednie action albo unique .
 
Back
Top