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

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2004, 12:54 PM
segatron11
Fire Beetle
 
Join Date: Dec 2003
Posts: 6
Default Fix for Bind Sight

Here is spells.cpp change, I made it so the bind sight line of spells actually works

Spells.cpp line 1894
Code:
else{
			caston->source_id = caster->GetID();
			castbuff->source_id = caster->GetID();
		} 
// UNALTERED CODE ABOVE (That goes for you trumpcard :p)

		// incubus - Added the bind sight line of spells, just had to change target_id
		// I believe it also adds a stamina loss, so I'll have to add that
		if(spell_id == 500 /* bind sight */ || spell_id == 407 /* cast sight */) // Bind Sight line of spells
		{
			caston->target_id = caster->GetID();
			castbuff->target_id = caster->GetID();
		}
		else {
			caston->target_id = this->GetID();
			castbuff->target_id = this->GetID();
		}

// UNALTERED CODE BELOW (Again, there you go trumpcard, not that hard now was it? :p)
		caston->action = 231;
		caston->spell_id = spell_id;
		castbuff->spell_id = spell_id;
Reply With Quote
  #2  
Old 01-04-2004, 12:59 PM
JohnRev
Hill Giant
 
Join Date: Mar 2003
Location: West Virginia
Posts: 184
Default

So this is for the horrible vision for servers? Lately that's been a little annoying.
Reply With Quote
  #3  
Old 01-04-2004, 02:48 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Since you didnt post as a diff, or include any lines of unaltered code, I really cant even consider trying to merge this in. Our line numbers probably dont match yours so its nearly impossible to be sure where this needs to go...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #4  
Old 01-04-2004, 02:53 PM
segatron11
Fire Beetle
 
Join Date: Dec 2003
Posts: 6
Default whaaaa

Ok to the horrible vision for severs, I have no idea what you are talking about.

As to trumpcard, How am i supposed to note lines that differ? I checked the snippet thread and it looked like i posted it how you want it....
Reply With Quote
  #5  
Old 01-04-2004, 02:55 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

seg, you didnt include any of the NON altered source, only a line where your change is supposed to start.

My line numbers are completely different, so how am i supposed to know where to put this, so im asking for a segment of UNALTERED code before and after so I have a reference point...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #6  
Old 01-04-2004, 02:56 PM
segatron11
Fire Beetle
 
Join Date: Dec 2003
Posts: 6
Default There you go

There you go trumpcard, look at it now :p I in fact DID have lines of unaltered code
Reply With Quote
  #7  
Old 01-04-2004, 02:58 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Yep, you're right, you did.. For some reason when i searched for that 1st string initially in VS, it didnt locate it. I assumed you only included new code based on that. My apologies.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #8  
Old 01-04-2004, 03:01 PM
segatron11
Fire Beetle
 
Join Date: Dec 2003
Posts: 6
Default np

No problemo, tell me if it works for you
Reply With Quote
  #9  
Old 01-06-2004, 12:15 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

nope this code does not work.
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #10  
Old 01-06-2004, 02:59 PM
Daeklaz
Sarnak
 
Join Date: Oct 2003
Location: City of Angels
Posts: 61
Default

JohnnyRev... Bind sight lets you see from somone elses eyes, it's a level 12 Enchanter Spell lol.. it doesn't make your sight better at all..
Reply With Quote
  #11  
Old 01-06-2004, 03:34 PM
segatron11
Fire Beetle
 
Join Date: Dec 2003
Posts: 6
Default uhhh

Uhhh shawn, I know for a fact the code does work. Make sure that you updated your Zone.exe in your server and make sure you casted bind sight on another mob. It should instantly put your view into their view. I can even send you a working Zone.exe of the bind site working, anyone else try to get it working?
Reply With Quote
  #12  
Old 01-07-2004, 12:20 AM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

It's supposed to work on players too though. thats what i tested it on. I have been with EQEmu since it was called AGXEmu 1.0. i think i know how to update my zone.exe =)

and there more than just those two spells for Bind Sight =P
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #13  
Old 01-07-2004, 12:36 AM
segatron11
Fire Beetle
 
Join Date: Dec 2003
Posts: 6
Default Aaah

Aaah okay good point, players too, Ill get that working.

IT DOES work on mobs though :p
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:46 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