[Added to SVN-GameServerScripts.] Updated /Switch Command.

Share files with other Dawn of Light users

Moderator: Support Team

[Added to SVN-GameServerScripts.] Updated /Switch Command.

Postby stephenxpimentel » Mon Mar 05, 2012 1:41 am

This command is like the old switch command, but it allows u to switch from more than just the first slot in ur backpack.

First backpack slot = 1, so to switch ur weapon from first backpack, to 2h slot, the command would be /switch 2h 1. 2 for second slot etc, etc.

SwitchCommandHandler.cs
(2.82 KiB) Downloaded 81 times


[(StephenxPimentel)Edit: Added to SVN-GameServerScripts]
Last edited by stephenxpimentel on Tue Mar 06, 2012 12:13 am, edited 1 time in total.
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1298
Joined: Wed Sep 19, 2007 5:09 pm

Re: Updated /Switch Command.

Postby Graveen » Mon Mar 05, 2012 8:20 am

Thank you Steven. This would fit nicely in GameServerScript/Commands, you can commit !
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Updated /Switch Command.

Postby Ephemeral » Mon Mar 05, 2012 12:45 pm

I'm surprised its only now this command was made public and such.
"The swarm is always smarter, faster and more adept than any actor which seeks to thwart it."
C++, Java, C#, VB.NET, ASM.
Current Project:
Engine Developer for The Red Solstice
User avatar
Ephemeral
DOL Freak
 
Posts: 551
Joined: Wed Mar 30, 2011 12:23 am

Re: Updated /Switch Command.

Postby geshi » Mon Mar 05, 2012 1:53 pm

Oh god this will make the stealther situation on freeshards even worse :mrgreen:

Nice command though :s
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: Updated /Switch Command.

Postby stephenxpimentel » Mon Mar 05, 2012 7:58 pm

theres an old switch command in user files by geshi, but i don't care for it (sorry, it just has 0 flexibility).

@Graveen, how would a server choose to disable/enable the command, maybe a SP for EnableCustomCommands? or is the existing DisabledCommands ok?
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1298
Joined: Wed Sep 19, 2007 5:09 pm

Re: Updated /Switch Command.

Postby Graveen » Mon Mar 05, 2012 8:31 pm

GSS gathers interesting things that are too much custom for going in the core.
As long as this is in GSS, this is the server team to take care of this command.
And no SP allowed that is targetting external stuff such as GSS (so, yes, DisabledCommands is ok).

Thank you !
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Updated /Switch Command.

Postby geshi » Tue Mar 06, 2012 12:41 pm

stephenxpimentel wrote:theres an old switch command in user files by geshi, but i don't care for it (sorry, it just has 0 flexibility).

@Graveen, how would a server choose to disable/enable the command, maybe a SP for EnableCustomCommands? or is the existing DisabledCommands ok?


Yep I don't know who wrote that.. I just fixed it due to demand..

Next there will be a command to hit evade styles for you when you evade :mrgreen:
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: [Added to SVN-GameServerScripts.] Updated /Switch Comman

Postby Phen » Tue Mar 06, 2012 9:25 pm

good job i love the livelike features like these getting added/fixed
User avatar
Phen
Storm GM
 
Posts: 673
Joined: Thu Jun 12, 2008 12:55 am

Re: [Added to SVN-GameServerScripts.] Updated /Switch Comman

Postby stephenxpimentel » Tue Mar 06, 2012 10:50 pm

Phen wrote:good job i love the livelike features like these getting added/fixed


/switch is a livelike command? lol didnt know that!
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1298
Joined: Wed Sep 19, 2007 5:09 pm

Re: [Added to SVN-GameServerScripts.] Updated /Switch Comman

Postby Graveen » Tue Mar 06, 2012 11:27 pm

if it is a livelike command (i quit too long time ago), this must go in the core, not in GSS.
GSS is suitable for useful (no, sorry, VERY useful) features, and examples, things that are not fitting in dol core but are very interesting to know
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: [Added to SVN-GameServerScripts.] Updated /Switch Comman

Postby geshi » Wed Mar 07, 2012 12:23 am

/switch isn't a livelike command at all.. I think Phen was being sarcastic tbh..
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: [Added to SVN-GameServerScripts.] Updated /Switch Comman

Postby Phen » Wed Mar 07, 2012 2:01 am

geshi wrote:/switch isn't a livelike command at all.. I think Phen was being sarcastic tbh..

heh, sorry i wasnt being sarcastic(this time).
I truly remembered something like this but its been a long time, i had it confused with this:
http://vnboards.ign.com/daoc_general_bo ... 3770518/p1

still a great idea, i think this macro was possible in some other mmorpg though
User avatar
Phen
Storm GM
 
Posts: 673
Joined: Thu Jun 12, 2008 12:55 am

Re: [Added to SVN-GameServerScripts.] Updated /Switch Comman

Postby baradien » Wed Mar 07, 2012 8:32 am

heh interesting havent seen this.
Its funny he uses those numbers. I really never seen a player use the inventory slots numbers on live lol.
Was always sword in the quickbar and 2h for example
User avatar
baradien
Server Team
 
Posts: 941
Joined: Wed Jan 23, 2008 3:17 pm
Location: Belguim


Return to User Files

Who is online

Users browsing this forum: No registered users and 1 guest