Author | Message | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Compiling Guide R189
| Hello and welcome to gads's guide on how to compile your own rev189.
|
Re: Compiling Guide R189
| btw its not called guild its called guide!
|
Re: Compiling Guide R189
| God_Pure posted: (5th Dec 2010 12:20 pm) xD Ill change sorry was typing fast and wasnt consertrating.
|
Re: Compiling Guide R189
| There has been alot of guides.. Why another exspecialy when the community is dead.
|
Re: Compiling Guide R189
| can you do it for me on teamviewer because I dont understand the update bit got this when compiled! "eoserv - MYSQL+SQLITE" uses an invalid compiler. Skipping... Nothing to be done. help me please? I tried all MYSQL+Debug etc.
|
Re: Compiling Guide R189
| @xIFearlessIxx because ive seen a few... COMPILING PROBLEM so i though ill add a new updated one that is for r189 have you got a problem for trying to help others...? @God_Pure add my msn you should find it on my profile if i have time ill use teamviewer if not ill guide you through it over msn step by step while i work on my rev i will release soon.
|
Re: Compiling Guide R189
| God_Pure posted: (5th Dec 2010 01:20 pm) Ellos, Go to Settings within Codeblocks. Then Compiler and debugger then Toolchain executables. then press ''Auto-Detect".
|
Re: Compiling Guide R189
|
|
Re: Compiling Guide R189
|
cause you have to compile it to work
|
Re: Compiling Guide R189
| ksh95 posted: (5th Dec 2010 07:24 pm) Ok, lets get this straight :). When you download the rev. Its NOT compiled yet. So you need to compile it to get the eoserv.exe file. its pretty straight forward when u get used to it :).
|
Re: Compiling Guide R189
|
|
Re: Compiling Guide R189
| you should describe what include folders in MinGW or in your eoserv files I tried it and it worked. This is first guide that worked for me its simplest guide -------------- Build: DEBUG+SQLITE in eoserv --------------- Precompiling header: ..\src\stdafx.h Precompiling header: ..\src\handlers\handlers.h Compiling: ..\src\config.cpp Compiling: ..\src\console.cpp Compiling: ..\src\container\ptr_list.cpp Compiling: ..\src\container\ptr_vector.cpp Compiling: ..\src\database.cpp D:\EoServ\trunk\src\console.hpp: In member function 'void Database::Close()': D:\EoServ\trunk\src\console.hpp:199: warning: enumeration value 'MySQL' not handled in switch D:\EoServ\trunk\src\console.hpp: In member function 'Database_Result Database::Query(const char*, ...)': D:\EoServ\trunk\src\console.hpp:246: warning: enumeration value 'MySQL' not handled in switch D:\EoServ\trunk\src\console.hpp:279: warning: enumeration value 'MySQL' not handled in switch D:\EoServ\trunk\src\console.hpp: In member function 'std::string Database::Escape(std::string)': D:\EoServ\trunk\src\console.hpp:381: warning: enumeration value 'MySQL' not handled in switch Compiling: ..\src\eoclient.cpp Compiling: ..\src\eodata.cpp Compiling: ..\src\eoserver.cpp Compiling: ..\src\extra\ntservice.cpp Compiling: ..\src\guild.cpp Compiling: ..\src\handlers\Account.cpp Compiling: ..\src\handlers\AdminInteract.cpp Compiling: ..\src\handlers\Attack.cpp Compiling: ..\src\handlers\Bank.cpp Compiling: ..\src\handlers\Barber.cpp Compiling: ..\src\handlers\Board.cpp Compiling: ..\src\handlers\Book.cpp Compiling: ..\src\handlers\Chair.cpp Compiling: ..\src\handlers\Character.cpp Compiling: ..\src\handlers\Chest.cpp Compiling: ..\src\handlers\Citizen.cpp Compiling: ..\src\handlers\Connection.cpp Compiling: ..\src\handlers\Door.cpp Compiling: ..\src\handlers\Emote.cpp Compiling: ..\src\character.cpp Compiling: ..\src\handlers\Global.cpp Compiling: ..\src\handlers\Guild.cpp Compiling: ..\src\handlers\Init.cpp Compiling: ..\src\handlers\Internal.cpp Compiling: ..\src\handlers\Item.cpp D:\EoServ\trunk\src\handlers\Item.cpp: In member function 'bool EOClient::Handle_Item(PacketFamily, PacketAction, PacketReader&, int)': D:\EoServ\trunk\src\handlers\Item.cpp:71: warning: suggest parentheses around assignment used as truth value Compiling: ..\src\handlers\Jukebox.cpp Compiling: ..\src\handlers\Law.cpp Compiling: ..\src\handlers\Locker.cpp Compiling: ..\src\handlers\Login.cpp Compiling: ..\src\handlers\Paperdoll.cpp Compiling: ..\src\handlers\Party.cpp Compiling: ..\src\handlers\Ping.cpp Compiling: ..\src\handlers\Players.cpp Compiling: ..\src\handlers\Priest.cpp Compiling: ..\src\handlers\Refresh.cpp Compiling: ..\src\handlers\Shop.cpp Compiling: ..\src\handlers\Sit.cpp Compiling: ..\src\handlers\Spell.cpp Compiling: ..\src\handlers\StatSkill.cpp D:\EoServ\trunk\src\handlers\StatSkill.cpp: In member function 'bool EOClient::Handle_StatSkill(PacketFamily, PacketAction, PacketReader&, int)': D:\EoServ\trunk\src\handlers\StatSkill.cpp:61: warning: unused variable 'amount' D:\EoServ\trunk\src\handlers\StatSkill.cpp:87: warning: unused variable 'data1' D:\EoServ\trunk\src\handlers\StatSkill.cpp:89: warning: unused variable 'data3' Compiling: ..\src\handlers\Talk.cpp D:\EoServ\trunk\src\handlers\Talk.cpp: In member function 'bool EOClient::Handle_Talk(PacketFamily, PacketAction, PacketReader&, int)': D:\EoServ\trunk\src\handlers\Talk.cpp:244: warning: comparison between signed and unsigned integer expressions D:\EoServ\trunk\src\handlers\Talk.cpp:402: warning: suggest parentheses around assignment used as truth value D:\EoServ\trunk\src\handlers\Talk.cpp:609: warning: comparison between signed and unsigned integer expressions D:\EoServ\trunk\src\handlers\Talk.cpp:668: warning: comparison between signed and unsigned integer expressions D:\EoServ\trunk\src\handlers\Talk.cpp:844: warning: comparison between signed and unsigned integer expressions Compiling: ..\src\handlers\Trade.cpp Compiling: ..\src\handlers\Walk.cpp Compiling: ..\src\handlers\Warp.cpp Compiling: ..\src\handlers\Welcome.cpp Compiling: ..\src\handlers\Face.cpp Compiling: ..\src\handlers\quest.cpp D:\EoServ\trunk\src\handlers\quest.cpp:11:21: warning: extra tokens at end of #include directive Compiling: ..\src\hash.cpp Compiling: ..\src\hook.cpp Compiling: ..\src\main.cpp Compiling: ..\src\map.cpp D:\EoServ\trunk\src\quest.hpp: In member function 'bool Map::AttackPKSpell(Character*, int, int)': D:\EoServ\trunk\src\quest.hpp:1828: warning: comparison between signed and unsigned integer expressions Compiling: ..\src\nanohttp.cpp Compiling: ..\src\npc.cpp Compiling: ..\src\packet.cpp Compiling: ..\src\party.cpp Compiling: ..\src\player.cpp Compiling: ..\src\quest.cpp Compiling: ..\src\script.cpp Compiling: ..\src\scriptreg.cpp D:\EoServ\trunk\src\sln.hpp:39: warning: 'script_DEBUG' defined but not used Compiling: ..\src\sha256.c Compiling: ..\src\shared.cpp Compiling: ..\src\sln.cpp Compiling: ..\src\socket.cpp Compiling: ..\src\arena.cpp Compiling: ..\src\timer.cpp Compiling: ..\src\util.cpp Compiling: ..\src\world.cpp Linking console executable: ..\eoserv-debug.exe Output size is 15.39 MB Process terminated with status 0 (1 minutes, 3 seconds) 0 errors, 16 warnings when I compile cmmand havnt changed so what do I do next?
|
Re: Compiling Guide R189
| i will make a guide on how to add # commands as you have to have a certain line
|
Re: Compiling Guide R189
| gads posted: (6th Dec 2010 09:42 am) it's simple to add player commands. It doesn't really require a full tutorial. here's the code:
before
"if (this->player->character->admin && message[0] == '$')"
add this:
if (message[0] == '#')
{
std::string command;
std::vector<std::string> arguments = util::explode(' ', message);
command = arguments.front().substr(1);
arguments.erase(arguments.begin());
//add your player commands here
}
and put your player commands where it tells you to (note: the first command must start with "if", all of the others should start with "else if")
| |