Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-05-2001, 02:56 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Exclamation drifting npc's

on my server enigma, some npc's drift.

ie: they start out on 32,32 and eventualy end up at 42,22

or something like that, the x,y moevs.

and its not just when i update levels, i see it whenpeople just enter the level.

i think its when they first enter and it loads it, it doesnt load x,y right.

im pretty sure only stefan can help, but hey.. worth a try
Reply With Quote
  #2  
Old 11-05-2001, 05:25 AM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
You don't have one of these, do you?

NPC Code:

if(playerenters){
x+=.5;
}


NPC Code:

if(playerenters){
x=x+.5;
}

__________________
Reply With Quote
  #3  
Old 11-05-2001, 05:28 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
its simple to fix
just put

if (playerenters) {
x=whatever;
y=whatever;
}
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #4  
Old 11-05-2001, 09:35 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
no, i have if(created){x+=.5;}

but some dont have that at all.

and they still drift

and that x=whatever;y=whtever shouldnt be neccesary, something is worng
Reply With Quote
  #5  
Old 11-05-2001, 09:56 AM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
Hackers are calling created. x= and y= are the only way to stop it.
__________________
Reply With Quote
  #6  
Old 11-05-2001, 10:33 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
it happens to me sometiems, when i enter the level they move.

i didnt hack it.
Reply With Quote
  #7  
Old 11-08-2001, 11:53 AM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
Maybe a staff or system NPC has been hacked to call created on all NPCs?
__________________
Reply With Quote
  #8  
Old 11-08-2001, 12:29 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
no...
Reply With Quote
  #9  
Old 11-08-2001, 01:07 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
I've seen it occuring as well. Haven't ruled out hackers, but SOMEthing's causing created to run more than once. I noticed the same exact problem with fighting fish...they'd set their power to their owner's power when created, but they'd do it more than once, with disasterous results, if anyone remembers...someone enters and it goes back to 0...anyway.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #10  
Old 11-09-2001, 02:51 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
like i said, i doubt its hackers because i know once i was alone in a level, and reconnected to graal and then the npc's moved for no reason.


i beleive its because when it loads the npc's, it tries to load from the client first, before teh server.and if its not on client, it might move the npc, beacuse it tries to put it in the right place still, but is off a bit since its not there, it lags loading, and puts the npc in a different spot, thinking its right.

-just an idea-

this would be fixed if stefan made it so graal didnt load from the client at all, for levels.
Reply With Quote
  #11  
Old 11-09-2001, 04:31 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Graal doesn't load npcs from hard-disk, they
are sent by the server together with the current
attributes, so when the script is sent then also the
position is sent. The 'created' flag is sent too,
may be it is missing sometimes or gets unset, don't know
Reply With Quote
  #12  
Old 11-10-2001, 01:45 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Smells like when they log on, it calls that a "create". Might be linked to the weapons smuggling from offline to online. Possible?
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #13  
Old 11-10-2001, 01:50 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
I've seen that happen a few times as well, even before people the NPC smuggling thing, I think created is occasionally called when it's the first time you enter that level since your last connection to the server and if you're then the first person to enter that level.
I'm not sure though.
[Edit]
Or it might occasionally be missing the flag due to packet loss, although you'd have to be pretty lagged to have that happen
[/Edit]
__________________

Reply With Quote
  #14  
Old 11-11-2001, 11:32 AM
r_u_f_u_s r_u_f_u_s is offline
Registered User
Join Date: Nov 2001
Posts: 220
r_u_f_u_s is on a distinguished road
I know in your case that you said it was not hackers, but they are cappable of doing that.... I know plently of times a hacker has been in the level and moving around images (sometimes even to different levels) changing npc character heads, etc..... I don't know how they do it, but it is possible that some of the time it is hackers doing it.
__________________
- ¤Mâ×Îmû§¤ - Owner of Delteria - (borrowing account)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 +2. The time now is 06:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.