EOSERV Forum > EOSERV > insoms rev
Topic is locked.
Page: << 1 2 ... 5 6 7 8 9 ... 14 15 >>
insoms rev
Author Message
Post #71313 Re: insoms rev
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

14 years, 5 weeks ago
Post #71315 Re: insoms rev

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. ☆
14 years, 5 weeks ago
Post #71316 Re: insoms rev
Lust posted: (31st Mar 2011 01:48 am)

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)

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");
this->player->character->title
= 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");
this->player->character->title
= newtitle;
this->player->character->race = SKIN_ORC;
}

14 years, 5 weeks ago
Post #71318 Re: insoms rev

Ok here is what is already in the character.cpp logout thing. Click Me!

14 years, 5 weeks ago
Post #71319 Re: insoms rev
Whitewolf posted: (31st Mar 2011 02:00 am)

Ok here is what is already in the character.cpp logout thing. Click Me!


Should work just replace it with what i posted for you before!
Heres fixed Item.cpp
14 years, 5 weeks ago
Post #71322 Re: insoms rev

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.
14 years, 5 weeks ago
Post #71324 Re: insoms rev
andrewbob1 posted: (31st Mar 2011 02:15 am)

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


Im pretty sure its saying this isnt your password.

## DBPass (string)

# Database password (MySQL only)

DBPass = root


14 years, 5 weeks ago
Post #71325 Re: insoms rev
insomniac posted: (31st Mar 2011 02:21 am)

andrewbob1 posted: (31st Mar 2011 02:15 am)

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


Im pretty sure its saying this isnt your password.

## DBPass (string)

# Database password (MySQL only)

DBPass = root


its what i use to log on the mysql.. so i guess i have to reinstall and change pass and see if it works xD

---
stay tuned.
14 years, 5 weeks ago
Post #71326 Re: insoms rev
andrewbob1 posted: (31st Mar 2011 02:25 am)

insomniac posted: (31st Mar 2011 02:21 am)

andrewbob1 posted: (31st Mar 2011 02:15 am)

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


Im pretty sure its saying this isnt your password.

## DBPass (string)

# Database password (MySQL only)

DBPass = root


its what i use to log on the mysql.. so i guess i have to reinstall and change pass and see if it works xD

Ok also everything you do to the config.ini you have to do to the config.local.ini

14 years, 5 weeks ago
Post #71328 Re: insoms rev

Ok here's the quest that keeps restarting the server. The Maze.

14 years, 5 weeks ago
Post #71329 Re: insoms rev

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.
14 years, 5 weeks ago
Post #71330 Re: insoms rev
newguy posted: (31st Mar 2011 02:36 am)

Hey dude, sorry to sound like a n00b. How do I use the tile specs for the mining and stuff in the Map editor?


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.
14 years, 5 weeks ago
Post #71331 Re: insoms rev

Oh cool! I thought I had to use renas or something.

---
Love you too.
14 years, 5 weeks ago
Post #71332 Re: insoms rev
Whitewolf posted: (31st Mar 2011 02:35 am)

Ok here's the quest that keeps restarting the server. The Maze.


Check out this program by deathx
https://eoserv.net/forum/topic/11736#post61233
14 years, 5 weeks ago
Post #71333 Re: insoms rev

People are able to spawn several pets. The item doesn't despawn the pet. It just creates another. :(

14 years, 5 weeks ago
Page: << 1 2 ... 5 6 7 8 9 ... 14 15 >>
Topic is locked.
EOSERV Forum > EOSERV > insoms rev