Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2008, 04:03 PM
Toriad
Fire Beetle
 
Join Date: Apr 2004
Posts: 21
Default Changing Race/Flymode on a per zone basis

Im trying to make it so you can change the Race of a player, via a db entry on a per zone basis. THE DB part is fine, but I'm having trouble with the race.

IF I use ns->spawn.race. I can only do the playable races, no other ones, Example SSERU Inquisitor seru.

The Command uses sendIllusionPacket, which I dont mind doing but I have no idea where the hell I am supposed to find a place to put that, as i cannot put it where I would normally put ns->spawn.race... Any ideas?
Reply With Quote
  #2  
Old 02-11-2008, 08:40 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by Toriad View Post
Im trying to make it so you can change the Race of a player, via a db entry on a per zone basis. THE DB part is fine, but I'm having trouble with the race.
I guess my first question would be this: are you trying to do this via quest, # command, or directly into the database (after character creation)?
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #3  
Old 02-12-2008, 05:59 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

i have a related question: can i permanently incrse player size? for specific race? I decided that dwarves should be taller
Reply With Quote
  #4  
Old 02-12-2008, 10:23 PM
Toriad
Fire Beetle
 
Join Date: Apr 2004
Posts: 21
Default

Actually I figured it out, my error wasn't in the DB it was in actually changing the race... I pulled a moron and didn't know that you could use Client things in client.cpp without calling client..

so instead of just doing SendAppearancePacket... I kept trying to do something like c->SendAppearncePacket... >.>

Yeah... Im a moron... Thanks though.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:21 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3