ArcEmu: [suggestion] Static Go Spawn Functions - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[suggestion] Static Go Spawn Functions

#1 User is offline   ScorpDK 

  • Newbie
  • Group: Members
  • Posts: 2
  • Joined: 05-May 09
  • Gender:Male
  • Server OS:Windows

Posted 21 January 2011 - 10:55 AM

I would like to ask about the possibility of seeing an addition / modification of the current gameobject spawning function ingame that, unlike ".go spawn <ID> 1" (which writes it into the gameobject_spawn table) would actually write it into the gameobject_staticspawns table instead.

As it has never been really touched much, I've been checking what the table actually does (since it is empty always) and i must say it works excellent for spawning any gameobject based on a large .wmo (example: Bloodelven Tower or Stormwind City), as it loads these as soon as the server is started, and will show them always, at any distance, no matter if you've seen them before or not, and won't hide them even if your view collides with terrain.
What does NOT work, however, is trying to select them using .go select, as they're not written into the gameobject table, they're excluded from all functions.
This isn't necessarily bad, as it avoids accidentally deleting your city after placing furniture and NPCs, however i would think that any private server using custom GOs would greatly appreciate this little addition.

Thanks for reading.
0

#2 User is offline   Hasbro 

  • Project Manager
  • PipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 2,526
  • Joined: 07-June 08
  • Gender:Male
  • Location:New York
  • Server OS:Windows

Posted 21 January 2011 - 12:58 PM

I like this suggestion.
To build off of it, what if we created a command (.go spawn 2) to save to the static spawns table, and .go select 2 to select static spawns where as we could modify .go select to select from both static and none-static, and add .go select 1 to select from gameobject_spawns?

Also, I'm thinking we should add this information to the wiki. I've found that over the years users would never understand why their gos disappear, and how to prevent them from disappearing using the static spawns table.

Comments?
0

#3 User is offline   sonarf 

  • Occasional Poster
  • PipPip
  • Group: Members
  • Posts: 137
  • Joined: 04-February 10
  • Gender:Male
  • Location:UK, Sussex
  • Interests:World of Warcraft
  • Server OS:Windows

Posted 22 January 2011 - 07:39 AM

View PostHasbro, on 21 January 2011 - 12:58 PM, said:

I like this suggestion.
To build off of it, what if we created a command (.go spawn 2) to save to the static spawns table, and .go select 2 to select static spawns where as we could modify .go select to select from both static and none-static, and add .go select 1 to select from gameobject_spawns?

Also, I'm thinking we should add this information to the wiki. I've found that over the years users would never understand why their gos disappear, and how to prevent them from disappearing using the static spawns table.

Comments?


I think this sound like a good plan, but Imo the original commands should be left as they are.
adding a 1 to it would just confuse a lot of users :P
.go select for the gameobject_spawns
.go select 2 for the gameobject_static_spawns

ETC..... :D
0

#4 User is offline   jackpoz 

  • ArcEmu Lemon Priest
  • PipPipPipPipPipPipPipPip
  • Group: Developers
  • Posts: 2,153
  • Joined: 19-June 08
  • Gender:Male
  • Location:Italy
  • Server OS:Windows

Posted 22 January 2011 - 08:37 AM

.go selectstatic ?
Posted Image We develop dreams. Your dreams ;)
Posted ImagePosted Image
0

#5 User is offline   Hasbro 

  • Project Manager
  • PipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 2,526
  • Joined: 07-June 08
  • Gender:Male
  • Location:New York
  • Server OS:Windows

Posted 22 January 2011 - 05:51 PM

View PostMarforius, on 22 January 2011 - 08:44 AM, said:

(Some) of this information is on the wiki, I remember asking what the tables were used for. We could probably get rid of these tables and probably just add a field to the gameobject_spawns table since im pretty sure they were made before the client started getting flags for this, and depend on the client seeing the object first. that last bit is speculation but it seems logical.

Also, /vote on new commands for manipulation of staticspawns.


This sounds like a good idea
0

#6 User is offline   Mithras 

  • Newbie
  • Group: Members
  • Posts: 8
  • Joined: 01-April 10
  • Gender:Male
  • Server OS:Linux

Posted 27 January 2011 - 09:32 PM

If nominations for commands are still being accepted I would like to submit ".sgo" as a candidate.

ie:

.sgo spawn <######>
.sgo delete <######>
.sgo select
0

#7 User is offline   Mithras 

  • Newbie
  • Group: Members
  • Posts: 8
  • Joined: 01-April 10
  • Gender:Male
  • Server OS:Linux

Posted 30 January 2011 - 02:43 PM

View PostMarforius, on 30 January 2011 - 11:52 AM, said:

why even put them in a different category? :D just ".go staticspawn(1 to save)" and ".npc staticspawn(1 to save)" would work


less typing?

".go" is shorthand for ".gameobject", ".sgo" would be shorthand for ".staticgameobject". Much of my command usage (well, typing in general) is 'reflex-action' and I just think it would be easier to develop a reflex for the shorter .sgo than the longer .go staticspawn...

But I do understand the '.go staticspawn' side as 'static' is a modifier of sorts and typically modifiers /follow/ the command being modified. The .sgo idea just seemed to be something that had a better... ... ?flow?.
0

#8 User is offline   Mithras 

  • Newbie
  • Group: Members
  • Posts: 8
  • Joined: 01-April 10
  • Gender:Male
  • Server OS:Linux

Posted 04 February 2011 - 01:15 PM

View PostMarforius, on 01 February 2011 - 02:57 AM, said:

Did you know that you can cut back on lots of characters in arcemu commands?


.ch fl on = .cheat fly on
.rec lis gm = returns a list recall points with names starting with "gm"
.rec p stormwi = ports you to stormwind

I wasn't thinking of this when I suggested .sgo, however. .go st would work just as well. .sgo still seems to come out easier for me. something about the left-to-right flow...

Still, keeping the command in the .go parent string really does make more sense than making a new 'top-level' command group, I suppose.

.go static? ie: .go st sel
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users