Author | Message | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ![]() Whitewolf posted: (31st Mar 2011 12:14 am)Ok replace your Item.cpp with this link and in character.cpp your character logout function with this link
|
| ![]() Insom, how do you get a skin/title change by stepping on a tile without a message popping up? (if you know how to do it) --- ♥(\(\ ☆ ♥ /)/) (=' :') ☆ ♥(¯`•.•´¯) ☆ (':'=) (,('')('') ¤°﹒☆`•.¸.•´ ☆♥ (")("),) ☆ Love begins with an image; lust with a sensation. ☆
|
| ![]() Lust posted: (31st Mar 2011 01:48 am)Heres 1 way put in Walk.cpp or change this ->player->character to from and add to map.cpp in the the character walk function if ( this ->player->character)
{
int target_x = this ->player->character->x;
int target_y = this ->player->character->y;
switch ( this ->player->character->direction)
{
case DIRECTION_UP:
target_y -= 1;
break ;
case DIRECTION_RIGHT:
target_x += 1;
break ;
case DIRECTION_DOWN:
target_y += 1;
break ;
case DIRECTION_LEFT:
target_x -= 1;
break ;
}
if ( this ->player->character->map->GetSpec(target_x, target_y) == Map_Tile::Unknown2 || ( this ->player->character->x == target_x && this ->player->character->y == target_y))
{ std::string newtitle = ("newtitle"); = newtitle; this->player->character->race = SKIN_ORC;
} or if(this->player->character->x == 3 && this->player->character->y == 4 && this->player->character->mapid == 300) { std::string newtitle = ("newtitle"); = newtitle; this->player->character->race = SKIN_ORC;
|
| ![]() Ok here is what is already in the character.cpp logout thing. Click Me!
|
| ![]() Whitewolf posted: (31st Mar 2011 02:00 am) Should work just replace it with what i posted for you before! Heres fixed Item.cpp
|
| ![]() Yo. Insomniac this is an error i get. [ERR] Database_OpenFailed: Access denied for user 'root'@'localhost' (using password: NO) Heres my SLN part: ### DATABASE ### ## DBType (string) # Database type (mysql or sqlite) DBType = mysql ## DBHost (string) # MySQL hostname / SQLite filename DBHost = 127.0.0.1 ## DBUser (string) # Database username (MySQL only) DBUser = root ## DBPass (string) # Database password (MySQL only) DBPass = root ## DBName (string) # Database name (MySQL only) DBName = twat ## DBPort (number) # Database port (MySQL only) # Leave at 0 to use the library default DBPort = 0 --- stay tuned.
|
| ![]() andrewbob1 posted: (31st Mar 2011 02:15 am)Im pretty sure its saying this isnt your password. ## DBPass (string) # Database password (MySQL only) DBPass = root
|
| ![]() insomniac posted: (31st Mar 2011 02:21 am)its what i use to log on the mysql.. so i guess i have to reinstall and change pass and see if it works xDandrewbob1 posted: (31st Mar 2011 02:15 am)Im pretty sure its saying this isnt your password. --- stay tuned.
|
| ![]() andrewbob1 posted: (31st Mar 2011 02:25 am)Ok also everything you do to the config.ini you have to do to the config.local.iniinsomniac posted: (31st Mar 2011 02:21 am)its what i use to log on the mysql.. so i guess i have to reinstall and change pass and see if it works xDandrewbob1 posted: (31st Mar 2011 02:15 am)Im pretty sure its saying this isnt your password.
|
| ![]() Ok here's the quest that keeps restarting the server. The Maze.
|
| ![]() Hey dude, sorry to sound like a n00b. How do I use the tile specs for the mining and stuff in the Map editor? --- Love you too.
|
| ![]() newguy posted: (31st Mar 2011 02:36 am) When you are in the special tab and you see chests its the next 6 ? tiles after 1 after chests = unknown1, 2 after chests = unknown2 etc.
|
| ![]() Oh cool! I thought I had to use renas or something. --- Love you too.
|
| ![]() Whitewolf posted: (31st Mar 2011 02:35 am) Check out this program by deathx https://eoserv.net/forum/topic/11736#post61233
| |