Page 1 of 7 123 ... LastLast
Results 1 to 15 of 97
  1. #1
    Trapped's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Italy.
    Posts
    584
    Reputation
    10
    Thanks
    449
    My Mood
    Asleep

    Exclamation Actual included commands in the private server code (the C# one)

    As everyone seems like retarded, I'll post them here, with command and arguments it requires.
    Them all are coded in wServer/realm/entities/player/Player.Chat.cs

    /pause Pauses the player.
    /setpiece ZONE_NAME Generates the selected zone at your character. Examples: /setpiece SkullShrine (thanks @Drowlys , @Agent321 ).
    /tp X Y Teleports you at the selected coordinates.
    /give ITEM Adds an item in your inventory, in the first slot available.
    /removeEff EFFECT Removes the selected effect from your character.
    /addEff EFFECT Adds the selected effect from your character.
    /spawn MONSTER_NAME Spawns the monster with the selected name at the player's coordinates.
    /spawnx QUANTITY MONSTER_NAME Spawns the selected quantity of monsters with the selected name at the player's coordinates.
    /tutorial Connects the player to the tutorial.

    Also, I'll add down here some additions to the commands, made by me. The arguments in brackets are OPTIONAL.

    /level (QUANTITY)
    Code:
    else if (cmd.Equals("level", StringComparison.OrdinalIgnoreCase))
                {
                    try
                    {
                        if (args.Length == 0)
                        {
                            psr.Character.Level = psr.Character.Level + 1;
                            psr.Player.Level = psr.Player.Level + 1;
                            psr.Player.CheckLevelUp();
                            UpdateCount++;
                        }
                        else if (args.Length == 1)
                        {
                            psr.Character.Level = int.Parse(args[0]);
                            psr.Player.Level = int.Parse(args[0]);
                            psr.Player.CheckLevelUp();
                            UpdateCount++;
                        }
                    }
                    catch
                    {
                        psr.SendPacket(new TextPacket()
                        {
                            BubbleTime = 0,
                            Stars = -1,
                            Name = "",
                            Text = "Error!"
                        });
                    }
                }
    /admin Sets your equipment to: Staff of Someone, Kitty, Robe of Someone, Amulet of Someone
    Code:
    else if (cmd.Equals("admin", StringComparison.OrdinalIgnoreCase))
                {
                    try
                    {
                        Inventory[0] = XmlDatas.ItemDescs[3840];
                        Inventory[1] = XmlDatas.ItemDescs[3843];
                        Inventory[2] = XmlDatas.ItemDescs[3841];
                        Inventory[3] = XmlDatas.ItemDescs[3845];
                        UpdateCount++;
                        return;
                    }
                    catch
                    {
                        psr.SendPacket(new TextPacket()
                        {
                            BubbleTime = 0,
                            Stars = -1,
                            Name = "",
                            Text = "Error!"
                        });
                    }
                }
    More to come.
    Click Thank if this was useful. Thanks.
    Last edited by Nico; 04-14-2013 at 09:47 AM.

  2. The Following 52 Users Say Thank You to Trapped For This Useful Post:

    Aithernia (06-06-2013),albertoagundez1 (07-22-2014),Alde. (04-19-2013),ArtisanHD (05-23-2015),asdrotmg (07-10-2016),Axeall (04-14-2013),azaizeh (04-19-2013),Baballerz (07-15-2015),Bcalloway (01-11-2018),Boxcarracer (04-16-2013),Bruno529 (02-23-2014),ChiefCreep (06-16-2013),chriscatt (04-25-2016),Corter (05-10-2013),CrazyJani (04-12-2013),danutdany19 (05-22-2013),dominator1130 (12-26-2013),Dragonlord3344 (04-16-2013),dthnider (01-17-2014),edishka (11-28-2016),ferrE1234 (03-20-2015),foxfady (08-06-2015),GavinChapman (04-21-2013),gifmekill (11-21-2013),gufantini (12-03-2013),hepperr (07-27-2015),Igoooor (05-01-2013),Ilikepoppp (05-04-2017),jacob12411 (04-18-2014),jakkymial (03-08-2014),jdude (06-29-2013),JJhackz (04-15-2013),Jonhy456 (05-02-2013),KatnissQuiver (02-05-2015),LOGM (09-14-2017),lolization (04-17-2013),Mitcheel (04-12-2013),MyDivineRealm (11-28-2013),Nightzz903 (06-20-2013),ossimc82 (04-14-2013),Owypro (09-05-2016),pedroxD2 (07-15-2013),peterlong (08-16-2013),RaymondW (07-17-2013),roan789 (05-20-2013),ROTMG EVILCKIKEN (07-18-2013),snowboy450 (01-29-2016),TheLolization (06-24-2015),Tobiasc123 (04-10-2014),Unknownvar (11-02-2013),XDalla (04-21-2013),[roTmg] (09-24-2015)

  3. #2
    Mitcheel's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Rotterdam
    Posts
    338
    Reputation
    10
    Thanks
    139
    My Mood
    Goofy
    Haha, Nice!
    I didnt found /tutorial yet!

    Thanks mate!

    ---------- Post added at 07:30 AM ---------- Previous post was at 07:27 AM ----------

    Maybe a cool idea to add:
    /admgear


    It should change your equipment to the following

    Weapon: Staff of Someone
    Abillity: Kitty
    Armor: Robe of Someone
    Ring: Amulet of Someone

    These items are already coded in the server

  4. #3
    Trapped's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Italy.
    Posts
    584
    Reputation
    10
    Thanks
    449
    My Mood
    Asleep
    @Mitcheel I know, these items are in the addition.xml file under db/data. Actually I'm still trying to get character creation/saving/loading work properly, but I'll give your idea a shot later this evening.

  5. The Following User Says Thank You to Trapped For This Useful Post:

    Mitcheel (04-12-2013)

  6. #4
    Mitcheel's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Rotterdam
    Posts
    338
    Reputation
    10
    Thanks
    139
    My Mood
    Goofy
    Quote Originally Posted by Trapped View Post
    @Mitcheel I know, these items are in the addition.xml file under db/data. Actually I'm still trying to get character creation/saving/loading work properly, but I'll give your idea a shot later this evening.
    Allright, Good to hear that.
    I wish you all the luck in the world

    By the way thanks for the awesome /level option!
    It works perfectly!

  7. #5
    runekri3's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    792
    Reputation
    9
    Thanks
    240
    My Mood
    Cheerful
    Wasnt there a /commands command which looped through all the commands and printed em ?
    Reputation-
    Vouches
    Respect-
    Nilly, Ultran00b, JustAnoobROTMG, Nano, karolelis9, fallenhacks(cake), jaythedev
    DisRespect-
    mandela96, spaghetti master, floxxe, drillick, brendoo

  8. #6
    ossimc82's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    496
    Reputation
    42
    Thanks
    887
    My Mood
    In Love
    how to use:

    /setpiece PIECE_ID

    ?

  9. #7
    vaultbud's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    2
    How exactly do you recompile C# into the server? I found the place where it says you have to be an admin to do it on the C#, and I'm pretty sure in the SQLHeidi there's a spot where you can set people as admins. I'm trying to make it so not everyone can spawn stuff, but I'm not sure how to even recompile with C#. Don't use it often :/

  10. #8
    HoffHorn's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    411
    Reputation
    10
    Thanks
    96
    Where do i put the level command at and what do i save it as?

    ---------- Post added at 11:08 PM ---------- Previous post was at 11:05 PM ----------

    "/give Potion of Maxy" is nice

  11. The Following User Says Thank You to HoffHorn For This Useful Post:

    MercyGarrote (04-23-2013)

  12. #9
    Trapped's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Italy.
    Posts
    584
    Reputation
    10
    Thanks
    449
    My Mood
    Asleep
    @runekri3 Apparently, no. Or, at least, this is what I had coded.

  13. #10
    Drowlys's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    The Crawling Depths
    Posts
    196
    Reputation
    10
    Thanks
    2,675
    Differt /setpiece commands
    /setpiece SkullShrine
    /setpiece CubeGod
    /setpiece Sphix
    /setpiece Pentaract
    /setpiece Oasis
    /setpiece LavaFissure

  14. #11
    Agent321's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    2
    All of the setpieces are in rotmg_svr-master>wServer>realm>setpiece, if you were wondering.

  15. The Following User Says Thank You to Agent321 For This Useful Post:

    dthnider (01-17-2014)

  16. #12
    Trapped's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Italy.
    Posts
    584
    Reputation
    10
    Thanks
    449
    My Mood
    Asleep
    @Drowlys @Agent321 I'm sorry, my bad. Didn't even try that command (not interested). I'll update the topic with what you suggested. Thanks.

  17. #13
    HoffHorn's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    411
    Reputation
    10
    Thanks
    96
    Please help ^^^^

  18. #14
    Trapped's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Italy.
    Posts
    584
    Reputation
    10
    Thanks
    449
    My Mood
    Asleep
    @HoffHorn From Visual C#, open the solution, go to wServer>realm>entities>player>Player.Chat.cs , find the end of the /give command and add the code I put in the thread after it.

  19. #15
    HoffHorn's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    411
    Reputation
    10
    Thanks
    96
    Quote Originally Posted by Trapped View Post
    @HoffHorn From Visual C#, open the solution, go to wServer>realm>entities>player>Player.Chat.cs , find the end of the /give command and add the code I put in the thread after it.
    I use MySql :/ darn

Page 1 of 7 123 ... LastLast

Similar Threads

  1. [Release] INFORMATION ABOUT THE PRIVATE SERVER.
    By Inquisition in forum CrossFire Discussions
    Replies: 5
    Last Post: 06-30-2012, 04:36 PM
  2. [Preview] TPS. The Private Server [read inside for details]
    By supercarz1991 in forum Combat Arms Mod Discussion
    Replies: 8
    Last Post: 04-17-2012, 07:49 PM
  3. [RELEASE]Runescape Private Server Code Generator
    By Pixie in forum Visual Basic Programming
    Replies: 9
    Last Post: 02-20-2010, 10:41 AM
  4. [Maplestory private server coding]
    By n4mm3r in forum MapleStory Hacks, Cheats & Trainers
    Replies: 1
    Last Post: 07-24-2009, 12:02 PM

Tags for this Thread