Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-30-2005, 02:44 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Object List

Since GS2 is primarily object based I think it would be useful to have a list of all objects that exist on the server, something like the DBNPC list, where you could find out their attributes, location, flags, etc. or Edit them if possible.
__________________
Reply With Quote
  #2  
Old 12-01-2005, 12:29 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
findNPCs(x, y, w, h)
Reply With Quote
  #3  
Old 12-01-2005, 12:31 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
He's looking for something added to the RC I think.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #4  
Old 12-01-2005, 08:18 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by napo_p2p
He's looking for something added to the RC I think.
Exactly
Quote:
Originally Posted by Inverness
something like the DBNPC list
Obviously an addition to RC, not a function, Rick.
__________________
Reply With Quote
  #5  
Old 12-01-2005, 02:46 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
What's wrong with level dump for reading the attrs?
__________________
Skyld
Reply With Quote
  #6  
Old 12-01-2005, 04:32 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Inverness
Exactly

Obviously an addition to RC, not a function, Rick.
Scripted RCs are a blessing. Use what Rick said, and add it yourself?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #7  
Old 12-02-2005, 08:55 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by ApothiX
Scripted RCs are a blessing. Use what Rick said, and add it yourself?
Then would you like to point out where I can find a description of requesttext() and sendtext() and all parameters used with it.
Quote:
Originally Posted by Skyld
What's wrong with level dump for reading the attrs?
Level dump is too specific, and it doesn't show static objects (TStaticVar) either. I want a complete object lists, weapons and static objects included, I do not know how to display that with requesttext() especially since there is no document on it obviously.
__________________
Reply With Quote
  #8  
Old 12-04-2005, 01:55 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Inverness
Then would you like to point out where I can find a description of requesttext() and sendtext() and all parameters used with it.
get the level list using requesttext(), iterate through it and warp a DB NPC to the level, and iterate through the NPCs, and there you go, you have an object list.

(Please note, I did not say this method is practical or even efficient)
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #9  
Old 12-04-2005, 02:28 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Oh, in that case add "rw npcs/*.txt" to your level rights.
Reply With Quote
  #10  
Old 12-04-2005, 02:38 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Rick
Oh, in that case add "rw npcs/*.txt" to your level rights.
That wouldn't give you the attributes of them at the time of execution, though.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #11  
Old 12-04-2005, 04:24 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by ApothiX
That wouldn't give you the attributes of them at the time of execution, though.
It also wouldn't show any objects made with TStaticVar
You don't seem to understand what i'm asking -.-
I want a list of ALL objects on the server: npcs, weapons, players, everything. Where you can view attributes of any of them. And what they're connected to.

Hmm, I think I would like it better if GS2 and Graal were more java based, Classes and Objects that is. I've been learning some Java and I find it interesting.

Also would like some kind of display for the global strings, ones without a leader.
__________________
Reply With Quote
  #12  
Old 12-04-2005, 10:46 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Why?
Reply With Quote
  #13  
Old 12-04-2005, 06:56 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Rick
Why?
Be more specific.
__________________
Reply With Quote
  #14  
Old 12-06-2005, 10:45 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
I have to agree with Invern on this.
__________________
Deep into the Darkness peering...
Reply With Quote
  #15  
Old 12-07-2005, 05:07 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Angel_Light
I have to agree with Invern on this.
Agree with what? There is no debate going on.

It seems like what you want is comparible to 'datablocks' on Graal3D servers?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #16  
Old 12-09-2005, 11:18 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
With the complexity of newer servers appearing on Graal you need a better system to manage them.
Quote:
Originally Posted by ApothiX
Agree with what? There is no debate going on.

It seems like what you want is comparible to 'datablocks' on Graal3D servers?
Why do you need a debate to agree with someone?
Could you describe the 'datablocks' on Graal3D?
__________________
Reply With Quote
  #17  
Old 12-09-2005, 11:51 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
How exactly would you "manage" them?

All objects except for TStaticVars are within levels, findNPCs should work fine.
Reply With Quote
  #18  
Old 12-10-2005, 05:45 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Well, Invern has a good point and idea. It should be added to GS2 ASAP!
__________________
Deep into the Darkness peering...
Reply With Quote
  #19  
Old 12-10-2005, 07:48 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Angel_Light
Well, Invern has a good point and idea. It should be added to GS2 ASAP!
Added to GS2? He was saying it should be added to the RC.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #20  
Old 12-10-2005, 07:45 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Rick
How exactly would you "manage" them?

All objects except for TStaticVars are within levels, findNPCs should work fine.
Would findNPCs work get all objects from every level at the same time?

Since GS2 is more object based the NPCServer should be too, stuff should be recognized as Objects or Classes before their type. A Weapon should be a type of Object where its interactions are defined in the script. Maybe when a weapon is created it makes the weapon Object from a Class, like in Java? I would like to be able to define how 'Weapons' work on the server, so if I want to change the system I can. I certainly don't want to have to put a negative before the weapon name just to make it hidden, i'd rather that be read in a flag inside the script.

This is all just some speculation or something but I still think there should be a list of server objects with their ID, Name, and Type (DBNPC, Weapon, etc.). I want to know where everything is, and be able to find any info in them without downloading everything to my comp.

btw, I don't think I would want a scripted RC, hardcoded works faster usually.
__________________
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 +2. The time now is 03:42 AM.


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