• 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!

[8.41/42] The Forgotten Server 0.3.4PL2 (Crying Damson)

Status
Not open for further replies.
@up
im not the one spamming lol ... someone talk i respond lol i only like Crying Damson so ima focus in this Thread i will talk in others threads sometime but i don't want to fight :S Sorry :(
 
i'm having some problems to open the server!!! please! i need help!

FATAL Couldn't open test.otbm
 
i'm having some problems to open the server!!! please! i need help!

FATAL Couldn't open test.otbm

Ok that mean that you have problems with the map,

Check in he server folder>data>world it say test as the name of the map if not rename it to test and it have to work.
 
when i try to login to my server the tibia client crash and i get this error in my server consol!
namnlös.JPG
 
Where is file forgottenserver.sql? I can't create databse because i can't find this file - I don't have what to import to xampp
 
hmm
i make a test and i see not work function fine: doPlayerRemoveMoney
is working fine in another server 841 but in this TFS remove my money but no give me the item... stranger no?

function giveItemToPlayer(cid, itemid, count, cost, topos)
if (doPlayerRemoveMoney(cid, cost) == 1) then
doPlayerAddItem(cid, itemid, count)
doSendMagicEffect(topos, 12)
else
doPlayerSendCancel(cid, "You don\'t have enough money, you need ".. cost .." gold coins.")
return 0
end
return 1
end

function onUse(cid, item, frompos, item2, topos)
if item.actionid == 2300 then ------------BP BROWM
giveItemToPlayer(cid, 1988, 1, 20, topos)
elseif item.actionid == 2301 then ------------BAG GREEND
giveItemToPlayer(cid, 1991, 1, 10, topos)
elseif item.actionid == 2302 then ------------BAG GREEND
giveItemToPlayer(cid, 1992, 1, 10, topos)
end
return 1
end
 
hmm
i make a test and i see not work function fine: doPlayerRemoveMoney
is working fine in another server 841 but in this TFS remove my money but no give me the item... stranger no?

function giveItemToPlayer(cid, itemid, count, cost, topos)
if (doPlayerRemoveMoney(cid, cost) == 1) then
doPlayerAddItem(cid, itemid, count)
doSendMagicEffect(topos, 12)
else
doPlayerSendCancel(cid, "You don\'t have enough money, you need ".. cost .." gold coins.")
return 0
end
return 1
end

function onUse(cid, item, frompos, item2, topos)
if item.actionid == 2300 then ------------BP BROWM
giveItemToPlayer(cid, 1988, 1, 20, topos)
elseif item.actionid == 2301 then ------------BAG GREEND
giveItemToPlayer(cid, 1991, 1, 10, topos)
elseif item.actionid == 2302 then ------------BAG GREEND
giveItemToPlayer(cid, 1992, 1, 10, topos)
end
return 1
end

Try changing this line:
if (doPlayerRemoveMoney(cid, cost) == 1) then

to:
if (doPlayerRemoveMoney(cid, cost) == true) then
 
hmm
i make a test and i see not work function fine: doPlayerRemoveMoney
is working fine in another server 841 but in this TFS remove my money but no give me the item... stranger no?

function giveItemToPlayer(cid, itemid, count, cost, topos)
if (doPlayerRemoveMoney(cid, cost) == 1) then
doPlayerAddItem(cid, itemid, count)
doSendMagicEffect(topos, 12)
else
doPlayerSendCancel(cid, "You don\'t have enough money, you need ".. cost .." gold coins.")
return 0
end
return 1
end

function onUse(cid, item, frompos, item2, topos)
if item.actionid == 2300 then ------------BP BROWM
giveItemToPlayer(cid, 1988, 1, 20, topos)
elseif item.actionid == 2301 then ------------BAG GREEND
giveItemToPlayer(cid, 1991, 1, 10, topos)
elseif item.actionid == 2302 then ------------BAG GREEND
giveItemToPlayer(cid, 1992, 1, 10, topos)
end
return 1
end


Change also return 1 to return TRUE and return 0 to return FALSE.
 
@topic,

Are you going to update soon?
Do not get lazy...
 
Is it just me or doesn't the rule violation function work?

I can see when another GM is reporting an Rule violations, but if a normal players does it doesn't show up.

Do I need to activate it somewhere or?
 
i change
return 1 to return TRUE and return 0 to return FALSE.
and
if (doPlayerRemoveMoney(cid, cost) == 1) then
to
if (doPlayerRemoveMoney(cid, cost) == true) then

but no working, no give me an item... only remove my gold coin. :/
 
i change
return 1 to return TRUE and return 0 to return FALSE.
and
if (doPlayerRemoveMoney(cid, cost) == 1) then
to
if (doPlayerRemoveMoney(cid, cost) == true) then

but no working, no give me an item... only remove my gold coin. :/

I think you must change:
if (doPlayerRemoveMoney(cid, cost) == true) then
to:
if (doPlayerRemoveMoney(cid, cost) == TRUE) then
 
Damn, after 87 hours uptime they managed to spell spam down my server.
Any solutions?
 
Where is file forgottenserver.sql? I can't create databse because i can't find this file - I don't have what to import to xampp
 
Status
Not open for further replies.
Back
Top Bottom