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 04-03-2002, 03:15 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-FooL- Inventory...

-The FooL-(Thanks to Past Austin for letting me use his account )

Wasn't sure if this was a bug or a future improvement, so forgive me if this is in the wrong forum...

When a player gets a new weapon, it goes to the END of the weapons index in their inventory. When they resign on, it gets resorted into ABC order.

Might not sound like much, but when you have an NPC that saves the indexes of weapons for future usage, having the weapons list possibly end up resorted every time a user logs off/on is just a bit much...

So maybe it could be made so that they just add to the end of the players weapon list so the switching-indexes doesn't occur?
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #2  
Old 04-03-2002, 03:20 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Re: -FooL- Inventory...

Quote:
Originally posted by Saga2001
-The FooL-(Thanks to Past Austin for letting me use his account )

Wasn't sure if this was a bug or a future improvement, so forgive me if this is in the wrong forum...

When a player gets a new weapon, it goes to the END of the weapons index in their inventory. When they resign on, it gets resorted into ABC order.

Might not sound like much, but when you have an NPC that saves the indexes of weapons for future usage, having the weapons list possibly end up resorted every time a user logs off/on is just a bit much...

So maybe it could be made so that they just add to the end of the players weapon list so the switching-indexes doesn't occur?
I dunno what the hell you just said, but make it so we can arrange the weapons the way we wanna... =P
Reply With Quote
  #3  
Old 04-03-2002, 03:26 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-FooL-

That's the point of my NPC, but it's being a pain to do since the weapon indexes keep changing >.<
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #4  
Old 04-03-2002, 05:13 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Just save the names of the weapons that you want to change the index of and use a for loop to find the new index when they log on again...
Reply With Quote
  #5  
Old 04-03-2002, 06:37 AM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
Re: Re: -FooL- Inventory...

Quote:
Originally posted by haunter


I dunno what the hell you just said, but make it so we can arrange the weapons the way we wanna... =P

I could almost swear that you could rearrange weapons before the 2001 client, but I may be wrong. I know I did it one time, but I don't remember how...

I held something then the arrow key, but I don't remember. Maybe Q and the arrow?
Reply With Quote
  #6  
Old 04-03-2002, 07:32 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-FooL-

Hmm good point Archaon... string arrays could do that... but still, the entire weapons-switching-places ordeal is a bit annoying.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #7  
Old 04-03-2002, 09:28 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
There's a deprecated syntax for specifying where NPCWs show up. toweapons name/order;. It has the unpleasant side effect that it will toweapons the same weapon as many times as it is called unless you check for hasweapon, and even then it could go wrong.

When G2K2 is finished, maybe Stefan will have time to tidy things up here...making -System NPCs invisible when they're the only weapon, making *Undeletable NPCs appear blue instead of with the * visible, debugging that / syntax or just adding a feature so we can organize our inventories...^_^
__________________
"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
  #8  
Old 04-03-2002, 09:57 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-FooL-

I'm assuming that's g2k2 or 2k1 Thym, otherwise you're a tad off from what I've seen...

toweapons folder/weapon name;

Is how it's shown up to me...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #9  
Old 04-04-2002, 04:14 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
*shrugs* I just remember Matia had toweapons Bank Card/ATM Card; but it showed up as Bank Card and every time you entered the room you got another one...
__________________
"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 04-04-2002, 05:46 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
The weapon order is AFAIK only changed when
you set it with RC, but saving the weapon name
will be better
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 07:04 PM.


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