• 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.7] The Forgotten Server v0.2.10 (Mystic Spirit)

Status
Not open for further replies.
I hava a problem with my compiled TFS when using mysql.
The server starts without errors, but when I login with any character the server stop with error in stack memory.
I had compiled it with mingw gcc, g++ 4.5.0 with dwarf exceptions. The boost library was compiled here, but the other libs (including mysql) I got from Dev-cpp pack and luajit on this forum.
 
[02/02/2011 21:47:16] >> Loading config
[02/02/2011 21:47:16] >> Loading RSA key
[02/02/2011 21:47:16] >> Testing SQL connection... SQLite.
[02/02/2011 21:47:16] >> Loading bans
[02/02/2011 21:47:16] >> Loading vocations
[02/02/2011 21:47:16] >> Loading commands
[02/02/2011 21:47:16] >> Loading items
[02/02/2011 21:47:16] >> Loading script systems
[02/02/2011 21:47:16] >> Loading monsters
[02/02/2011 21:47:17] >> Loading outfits
[02/02/2011 21:47:17] >> Loading admin protocol config
[02/02/2011 21:47:17] >> Loading experience stages
[02/02/2011 21:47:17] >> Using plaintext passwords
[02/02/2011 21:47:17] >> Checking world type... PVP
[02/02/2011 21:47:17] >> Loading map
[02/02/2011 21:47:17] > Map size: 1000x1000.
[02/02/2011 21:47:17] > Map loading time: 0.474 seconds.
[02/02/2011 21:47:18] Notice: Map load (relational) took : 0.521 s
[02/02/2011 21:47:18] >> Initializing gamestate
[02/02/2011 21:47:18] [ServicePort::eek:pen] Error: Er is geprobeerd toegang te verkrijgen tot een socket op een volgens de toegangsmachtigingen niet toegestane manier
[02/02/2011 21:47:18] >> Loaded all modules, server starting up...
[02/02/2011 21:47:19] >> Forgotten Server Online

it gives socket error
(translation by google)
[02/02/2011 9:42:28 p.m.] [port service:: Open] Error: Attempt to access a socket in accordance with the access permissions on an unauthorized manner
 
one problem i have, the aol does not seem to work even though i edited it in items.xml

i tried to use all different threads but none of the solutions work including preventloss=1 and some other ones which i can not be bothered to list
IF YOU KNOW HOW TO SOLVE THIS PLEASE REPLY TO ME ILL GIVE YOU REP :D
 
here is the solution for the aol problem (only if that happen as me: The aol stay and you do not loss any item)

Creaturescripts.xml
Code:
<event type="death" name="Aol" event="script" value="aol.lua"/>
/scripts
Code:
function onDeath(cid, corpse, deathList)
local aol = getPlayerSlotItem(cid, CONST_SLOT_NECKLACE)
if aol.itemid == 2173 then
doRemoveItem(aol.uid, 1)
end
return true
end
 
first of all before you reply to me i am just STARTING to learn about ots anyway lets get on with my question
basically i configured everything and when i log in on the account manager account i press 'OK' it just stays there and then a notice comes up saying cannot connect to the game server login port : 7171 game port : 7172 any ideas ? last time i tried some old engine i could log in with the account manager but i cant with this someone help ? pretty please :)

maybe u put in config.lua the name of ypur ip like ip="myipaddress.no-ip.biz" or something like that
there should be numbers there not letters u must put your ip address in numbers, please visit Whatsmyip.org to see your ip in numbers or open the no-ip window and copy your ip then cange it on config.lua
 
Been out of business for a while now, but why is there no acc name in the SQL File ? When creating an account, ur just able to type in ID,Password, Type.
 
the 'ID' is the "account name"... you can use only numbers
 
Hello,
I guess I was not very clear in my question.
I'm having a problem with my TFS build on my PC (both the console version and the GUI version).
The error is at runtime and occurs after the server is running on mysql database mode and I try to log my character in the tibia client. The server simply asks the OS to be shut down and then quits.
I had build using CodeBlocks with mingw 4.5.0, boost 1.45, and other libraries from the Forgotten DevCpp package.
I'm using Windows 7 Home Basic. The MySQL version is 5.5.

I know the problem is in my compilation because this error does not occur with the compiled version from this site.:huh:

(Sorry for any bad word. I'm brasilian);)
 
ehm maybe a noob question but i Made a GOD and if i look my self i am god. But i can't execute commands lol
 
Seriously question, how i can know 8.7 item ids? such as stampor talons ?
 
Status
Not open for further replies.
Back
Top