EOSERV Forum > EOSERV > Sausage Read! Again! Go down to my reply!
Topic is locked.
Page: << 1 >>
Sausage Read! Again! Go down to my reply!
Author Message
Post #1283 Sausage Read! Again! Go down to my reply!

You need to go back and edit this in WebCP!


in Common.php change the Race stuff to this.
define('RACE_WHITE', 0);
define('RACE_YELLOW', 1);
define('RACE_TAN', 2);
define('RACE_ORC', 3);
define('RACE_SKELETON', 4);
define('RACE_PANDA', 5);
define('RACE_FISH', 6);

and in GMCharacter.php & Character.php
case RACE_WHITE: $character['race'] = 'Human (White)'; break;
case RACE_YELLOW: $character['race'] = 'Human (Yellow)'; break;
case RACE_TAN: $character['race'] = 'Human (Tan)'; break;
case RACE_ORC: $character['race'] = 'Orc'; break;
case RACE_PANDA: $character['race'] = 'Panda'; break;
case RACE_SKELETON: $character['race'] = 'Skeleton'; break;
case RACE_FISH: $character['race'] = 'Fish'; break;
default: $character['race'] = 'Unknown'; break;

I noticed that when i had panda skin in game, on the webcp it said i was a fish, and i knew the order was:
Human
Human
Human
Orc
Skelly
Panda
Fish

So i knew something was up. So you can go fix that, and if you need someone to do templates i could help, i had successfully did mine.
example: 


15 years, 7 weeks ago
Post #1298 Re: Sausage Read!

Thanks for finding that.

Also, I love your WebCP template, I'd also love for you to make+post some (I might add an "extras" section to this website) - just make sure you leave the link back to eoserv.net in the footer.

15 years, 7 weeks ago
Post #1328 Re: Sausage Read!

Will do, and man you messed it up again.


r49 r75  
25 25 define('RACE_YELLOW', 1); 
26 26 define('RACE_TAN', 2); 
27   define('RACE_PANDA', 3); 
28   define('RACE_SKELETON', 4); 
29   define('RACE_FISH', 5); 
  27 define('RACE_ORC', 3); 
  28 define('RACE_PANDA', 4); 
  29 define('RACE_SKELETON', 5); 
  30 define('RACE_FISH', 6); 
30 31  
31 32 require 'config.php'; 


Skelly comes before panda. Panda is 5, and skelly is 4.


15 years, 7 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > EOSERV > Sausage Read! Again! Go down to my reply!