There must be something else that is wrong with the steps you are providing. I recompiled the avesta (latest source from trunk), replaced the npc source files and recompiled.
The server works and I can connect and play, but all npc's can't be interacted with and they spam the console with errors. Simply copy-pasting the data file (mastercores) to the avesta distro breaks things what it seems.
example:
Code:
Lua Script Error: [Npc interface]
data/npc/scripts/Thais/Frodo.lua:onThink
popBoolean(). Error: Expected boolean type parameter.
When talking to:
example:
Code:
Lua Script Error: [Npc interface]
data/npc/scripts/Thais/Frodo.lua:onCreatureSay
data/npc/scripts/lib/npcsystem/npchandler.lua:382: attempt to call global 'getPlayerPosition' (a nil value)
stack traceback:
data/npc/scripts/lib/npcsystem/npchandler.lua:382: in function 'isInRange'
data/npc/scripts/lib/npcsystem/npchandler.lua:292: in function 'onCreatureSay'
data/npc/scripts/Thais/Frodo.lua:13: in function <data/npc/scripts/Thais/Frodo.lua:13>
When compiling I configure using these parameters:
./configure --enable-protocol77 --enable-mysql --enable-sqlite
PM me your skype/msn name when you can so we can talk a little bit quicker. Thank you.
- - - Updated - - -
Ok, as of now, ignore all the above.
Im using the source that comes with the datapack as of now. Compiling under linux works just fine, just needed a minor change in otserv.cpp. Anyway, I'm having problems logging in to the game. I'm using a 7,72 client with the .dat and sprites needed (it worked fine when trying on avesta sources). So at first I got to the RSA problem, so I changed the RSA in otserv.cpp to the "orginal" one from Avesta sources. Now I can enter char list, but I can't get in-game. I get connection refused.
The server is running bridged locally on my PC and it works just fine with Avesta, but not with Mastercores sources. I've tried setting the ip to the global ip aswell as the local ip, yet I can't connect ingame, just to the charlist. The server outputs nothing when I get refused. I am very confused as this works flawlessly on the Avesta distro.
If anyone can help me, please let me know. Thanks