Author | Message | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ![]() Whitewolf posted: (3rd Apr 2011 04:41 am)Find Map::AttackPKSpell and replace the function with this REPOST USE THIS and replace your whole map.cpp
|
| ![]() insomniac posted: (3rd Apr 2011 04:50 am)Whitewolf posted: (3rd Apr 2011 04:41 am)Find Got it to work by taking this code out lol Is it needed? void Map::TMessage() { int rand = util::rand(1, 100); if(rand < 20) //1% chance say first message { this->world->ServerMsg(static_cast<std::string>(this->world->mapmes_config[util::to_string(this->id) + ".1"])); } else if(rand >= 20 && rand < 40) //1% chance change message { this->world->ServerMsg(static_cast<std::string>(this->world->mapmes_config[util::to_string(this->id) + ".2"])); } else if(rand >= 40 && rand < 60) // 1% chance say 3rd { this->world->ServerMsg(static_cast<std::string>(this->world->mapmes_config[util::to_string(this->id) + ".3"])); } else if(rand >= 60 && rand < 80) // 1% chance say 3rd { this->world->ServerMsg(static_cast<std::string>(this->world->mapmes_config[util::to_string(this->id) + ".4"])); } else if(rand >= 80 && rand <= 100) // 1% chance say 3rd { this->world->ServerMsg(static_cast<std::string>(this->world->mapmes_config[util::to_string(this->id) + ".5"])); } }
|
| ![]() -- 04/03/11 10:15:59 --- [WRN] Configuration file not found: ./data/harvs.ini my only WARNING!
and server crashes
it says blah blah sorry for the inconvenice blah blah...
|
| ![]() Hollister⢠posted: (3rd Apr 2011 05:17 pm) Click Me - This is the harvesting ini file, place it in your data folder.
|
| ![]() Whitewolf posted: (3rd Apr 2011 07:14 am)insomniac posted: (3rd Apr 2011 04:50 am)Whitewolf posted: (3rd Apr 2011 04:41 am)Find No new feature im working on
|
| ![]() I connect to my sqlyog and i try to create a character and the server crashes... but theres blank error that pops up.
|
| ![]() Hollister⢠posted: (3rd Apr 2011 10:42 pm) Idk dude do you have odbc?
|
| ![]() Whats that? EDIT: also the insoms.sql file always gets an error with SQLyog and HeidiSQL!
|
| ![]() insomniac posted: (3rd Apr 2011 09:08 pm)Whitewolf posted: (3rd Apr 2011 07:14 am)insomniac posted: (3rd Apr 2011 04:50 am)Whitewolf posted: (3rd Apr 2011 04:41 am)Find REPOST - Click me
|
| ![]() You guys should release a finshed Rev! Meaning a final version
|
| ![]() He had a post earlier saying he's done releasing his work. He posted it on the first. Basically if you can't get it to work that's the end of it. I didn't have any trouble starting it up.
|
| ![]() Whitewolf posted: (5th Apr 2011 03:03 am)Sorry for the quote im just posting the working warp should work
|
| ![]() insomniac posted: (5th Apr 2011 03:14 am)Thanks again bro. Heres the item.cppWhitewolf posted: (5th Apr 2011 03:03 am)Sorry for the quote im just posting the working warp should work
| |