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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2016, 03:09 AM
superemu
Sarnak
 
Join Date: May 2014
Posts: 79
Default Can't get Common Gate spell to work

I am replacing the new commonlands zone with the old ones on my server. But, I can't get the Common Gate spell to go to the right location. I changed the teleport zone to "commons," so the spell takes me to the correct zone. However no matter what I set the first 4 base values to, the spell takes me to the safe spot in that zone. I restart to server each time I make a change. I was able to get the druid ring spell to work.

Any ideas?
Reply With Quote
  #2  
Old 04-19-2016, 03:14 AM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Check your spell scripts under quests/global/spells. Could be one in there hanging you up. I had that problem with Nektulos when working those spells out.

See if it's using this one: https://github.com/ProjectEQ/project...spells/544.lua
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #3  
Old 04-19-2016, 01:25 PM
Furniture
Hill Giant
 
Join Date: Aug 2012
Posts: 205
Default

You have run sharedmemory.exe after making the changes?
Reply With Quote
  #4  
Old 04-19-2016, 01:59 PM
superemu
Sarnak
 
Join Date: May 2014
Posts: 79
Default

I was wrong when I said I got the druid ring spell to work. It also does not work.

Quote:
Check your spell scripts under quests/global/spells.
There is no file for 544 in that folder. Thanks for the warning, though. I will definitely keep it in mind in the future.

Quote:
You have run sharedmemory.exe after making the changes?
Yes. I restart all the server programs after I update spells. I learned that I had to do that or the changes wouldn't take effect.

Do I have to update the client spells file spells_us.txt when I change the port spell destination info? What seems to be happening is that no matter what values I put in the base value fields, I keep ending up at a location indicated by switching the x and y coordinates. How very strange.
Reply With Quote
  #5  
Old 04-19-2016, 02:07 PM
superemu
Sarnak
 
Join Date: May 2014
Posts: 79
Default

Never mind. I figured it out. (SIGH)

I was putting the X and Y in the opposite fields. Apparently, Y goes in Base Value 1 and X goes in Base Value 2. Sheesh.
Reply With Quote
  #6  
Old 04-19-2016, 08:39 PM
superemu
Sarnak
 
Join Date: May 2014
Posts: 79
Default

Scratch that. It's still not working right.

So now the spells only work when I port from another zone into commons. But if I try to port from inside commons, the client keeps sending an "Invalid unsolicited zone request" to the new zone (408 ).

Here is the request from the server to send the player to the old commons (zone id 21):

Code:
[04-19-2016 :: 17:27:17] [Packet :: Server -> Client (Dump)] [OP_RequestClientZoneChange - 0x0196] [Size: 26] 
   0: 15 00 00 00 00 00 40 40 - 00 20 E6 44 00 00 70 C1  | ......@@. .D..p.
  16: 00 00 1F 43 01 00 00 00                            | ...C....
And here is the response from the client trying to send the player to the new commonlands (zone id 408 ):

Code:
[04-19-2016 :: 17:27:17] [Packet :: Client -> Server (Dump)] [OP_ZoneChange - 0x021f] [Size: 90] 
   0: 57 69 7A 7A 69 65 00 00 - 00 00 02 00 B0 00 00 00  | Wizzie..........
  16: 00 00 00 00 E8 58 D5 00 - 30 D4 6D 24 98 89 19 00  | .....X..0.m$....
  32: 04 01 00 00 15 00 00 00 - 00 00 00 00 17 00 00 00  | ................
  48: 10 02 02 00 00 00 02 00 - 3C 0A 02 00 1E 00 00 00  | ........<.......
  64: 98 01 00 00 00 00 5F 43 - 00 E0 DE 44 00 00 18 42  | ......_C...D...B
  80: 07 00 00 00 00 00 00 00                            | ........
Reply With Quote
  #7  
Old 04-21-2016, 10:26 AM
superemu
Sarnak
 
Join Date: May 2014
Posts: 79
Default

Had to export a new spells file for the client. All better now.
Reply With Quote
  #8  
Old 04-21-2016, 06:48 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Well, yeah

Glad you got it working.
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
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 09:50 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3