EOSERV Forum > Lounge > Anyone Have Orcs Vs Humans?
Topic is locked.
Page: << 1 >>
Anyone Have Orcs Vs Humans?
Author Message
Post #79129 Anyone Have Orcs Vs Humans?


Does anyone have a rev like human Vs. orcs i am trying to do somthing really cool and i would like to mess around with it to see if it would work.

14 years, 5 weeks ago
Post #79136 Re: Anyone Have Orcs Vs Humans?


I have it :).

---
Love you too.
14 years, 5 weeks ago
Post #79137 Re: Anyone Have Orcs Vs Humans?


i was wondering could i have the code you use for the character beginning spawns or just let me edit the source. it would be really helpful :)

14 years, 5 weeks ago
Post #79139 Re: Anyone Have Orcs Vs Humans?

I already explained how to do race spawns..

https://eoserv.net/forum/topic/13615

---
Love you too.
14 years, 5 weeks ago
Post #79140 Re: Anyone Have Orcs Vs Humans?

w8 but where in there would i add it?

14 years, 5 weeks ago
Post #79141 Re: Anyone Have Orcs Vs Humans?

It's just a basic code but add it in welcome.cpp under:

case PACKET_MSG: // Welcome message after you login.

{

if (this->state != EOClient::LoggedIn || !this->player->character) return false;


reader.GetThree(); // ??

id = reader.GetInt(); // Character ID

14 years, 5 weeks ago
Post #79142 Re: Anyone Have Orcs Vs Humans?


ugh i cant get it to work so i give up :/

14 years, 5 weeks ago
Post #79193 Re: Anyone Have Orcs Vs Humans?

Most people do Leon lol

14 years, 5 weeks ago
Post #79195 Re: Anyone Have Orcs Vs Humans?

What Hollow is trying to say is add

if (this->player->character->skin == SKIN_WHITE)

{

       this->player->character->home = humantown //the home you set in the home file

          this->player->character->warp(this->player->character->startX(),this->player->character->startY(),this->player->character->startMap(),WARP_ANIMATION_SCROLL);


Underneath the following code:

case PACKET_MSG: // Welcome message after you login.

{

if (this->state != EOClient::LoggedIn || !this->player->character) return false;


reader.GetThree(); // ??
id = reader.GetInt(); // Character ID


I am in process of adding this feature to, try to fix the errors your self, if you can't then I think you should change the first line of coding to this:

       this->player->character->home = "humantown" //the home you set in the home file


Which is adding " " to in the humantown which should cut you down to less errors. If you can't fix the rest of the errors your self, hire someone to do it for you.



14 years, 5 weeks ago
Post #79196 Re: Anyone Have Orcs Vs Humans?

Oh, now i know what he meant i thought he meant something else

14 years, 5 weeks ago
Post #79780 Re: Anyone Have Orcs Vs Humans?

I really need this feature, and when I compile this I get these following Errors:



C:\wamp\www\src\handlers\Welcome.cpp:214: error: 'class Character' has no member named 'skin'

C:\wamp\www\src\handlers\Welcome.cpp:220: error: 'class Character' has no member named 'warp'

C:\wamp\www\src\handlers\Welcome.cpp:220: error: 'class Character' has no member named 'startX'

C:\wamp\www\src\handlers\Welcome.cpp:220: error: 'class Character' has no member named 'startY'

C:\wamp\www\src\handlers\Welcome.cpp:220: error: 'class Character' has no member named 'startMap'

14 years, 4 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Lounge > Anyone Have Orcs Vs Humans?