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

How to make your server client 8.61 Tutorial

I'm having this problem :

0.3.6pl1

Code:
../protocolgame.cpp: In member function `void ProtocolGame::parseAttack(NetworkMessage&)':
../protocolgame.cpp:1335: error: 'class NetworkMessage' has no member named 'get'
../protocolgame.cpp:1335: error: expected primary-expression before '>' token
../protocolgame.cpp:1335: error: expected primary-expression before ')' token
../protocolgame.cpp:1336: error: 'class NetworkMessage' has no member named 'get'

../protocolgame.cpp:1336: error: expected primary-expression before '>' token
../protocolgame.cpp:1336: error: expected primary-expression before ')' token
../protocolgame.cpp:1337: error: 'class NetworkMessage' has no member named 'get'
../protocolgame.cpp:1337: error: expected primary-expression before '>' token

../protocolgame.cpp:1337: error: expected primary-expression before ')' token

make.exe: *** [obj//protocolgame.o] Error 1

Execution terminated

SOLVED using this code V
Code:
void ProtocolGame::parseAttack(NetworkMessage& msg)
{
        uint32_t creatureId = msg.GetU32();
        msg.GetU32();
        msg.GetU32();
        addGameTask(&Game::playerSetAttackedCreature, player->getID(), creatureId);
}
 
ok but what about my problem .-. please i need help
 
help¡ i cant compile the last 0.4 rev, always taht i open the project is seems to be empty, what can i do to solve it
 
Pleace help

luascript.cpp:9040: error: 'LuaScriptInterface' has not been declared
luascript.cpp: In function 'int32_t luaGetItemParent(lua_State*)':
luascript.cpp:9043: error: 'getEnv' was not declared in this scope
luascript.cpp:9045: error: 'popNumber' was not declared in this scope
luascript.cpp:9048: error: 'getError' was not declared in this scope
luascript.cpp:9048: error: 'error' was not declared in this scope
luascript.cpp:9054: error: 'pushThing' was not declared in this scope
luascript.cpp: At global scope:
luascript.cpp:9059: error: expected ')' before '(' token
luascript.cpp:9086: error: expected ')' before '(' token
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/mailbox.Tpo .deps/mailbox.Po
make[1]: Leaving directory `/root/saphire'
make: *** [all] Error 2
121-240:~/saphire#
 
someone already knows if they already fix the bug in the NPC's not buying the vial piled on 100?
 
Lua:
luascript.cpp: In member function 'virtual void LuaInterface::registerFunctions()':
luascript.cpp:1398: error: 'LuaScriptInterface' has not been declared
luascript.cpp: At global scope:
luascript.cpp:8460: error: 'LuaScriptInterface' has not been declared
luascript.cpp: In function 'int32_t luaGetItemParent(lua_State*)':
luascript.cpp:8463: error: 'getEnv' was not declared in this scope
luascript.cpp:8465: error: 'popNumber' was not declared in this scope
luascript.cpp:8468: error: 'getError' was not declared in this scope
luascript.cpp:8468: error: 'error' was not declared in this scope
luascript.cpp:8474: error: 'pushThing' was not declared in this scope
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/home/trunk.r3681'
make: *** [all] Error 2
ks315:/home/trunk.r3681#

Any ideas what i'am missing?
 
bump.. TFS 0.4, still confused about all this crap. if the same codes in 3.6 can be used for 0.4
 
Sometimes when i login to the game i have a debug...
Enyone knows why it do it?

I delete all "charges" from items.xml but when i buy in magic shop 100 sd in one rune
12:29 Bought 100x sudden death rune for 11000 gold.
12:29 You see 100 sudden death runes.
They weigh 120.00 oz.
after first shoot it will delete.
100sd = 1 shoot
50sd = 1 shoot
1 sd = 1 shoot
What can I do with this bug?
Charges don't come down one after the other only once.

//Sorry for my English.
 
Last edited:
how do i make it works whit the right items.otb? like the ones in 0.4.1a ..~
 
GG
\Desktop\0.3.6pl1.r83\luascript.cpp expected ')' before '(' token
Desktop\0.3.6pl1.r83\luascript.cpp *** [obj//luascript.o] Error 1

KURWAAAAAAAAAAAA
 
@Up
You've made a mistake? Because I have compiled it before and it worked, not errors or anything!
 
Back
Top