Results 1 to 6 of 6
  1. #1
    Ahl's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    /modcp
    Posts
    16,590
    Reputation
    3219
    Thanks
    5,383
    My Mood
    Angelic

    HTML code for putting client on website

    I was just wondering what the code is for adding a client onto a website? I know some html so I won't need to go through the basics but I know that there are people out here that know so I am just wondering.

    Also after asking this, how can I make it so that a certain rank and above cannot die as I do not want people who can get heaps of fame to die to go on the leaderboard?
    Last edited by Ahlwong; 03-15-2014 at 10:23 PM.
    News Force Head Editor from 09/14/2018 - 03/02/2020
    Publicist from 11/23/2017 - 06/07/2019
    Global Moderator since 09/24/2017
    Minion+ from 04/16/2017 - 09/24/2017
    Market Place Minion from 04/16/2017 - 09/24/2017
    Minecraft Minion from 02/23/2017 - 09/24/2017
    Realm of the Mad God Minion from 11/06/2016 - 09/24/2017

    Middleman from 09/14/2016 - 09/24/2017
    News Force Editor from 08/23/2016 - 09/14/2018
    News Force (Section of the Week) from 03/21/2016 - 07/17/2017
    News Force (User News) from 10/18/2015 - 09/14/2018

    Donator since 03/16/2015
    Realm of the Mad God Editor from 05/20/2014 - 07/08/2014
    Member since 12/23/2012


    Rep Power: 82

  2. #2
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,417
    Reputation
    611
    Thanks
    12,008
    My Mood
    Cheerful
    Code:
       <embed src="--name of your .swf here--" 
                    width="1024" height="768" name="SmthName" align="middle"
                    quality="high"
                    wmode="direct"
                    menu="true"
                    allowScriptAccess="always"
                    type="application/x-shockwave-flash"
                    pluginspage="https://www.adobe.com/go/getflashplayer">
                </embed>
    This should work.

  3. #3
    CrazyJani's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    2,475
    Reputation
    170
    Thanks
    15,666
    @donran told that you need also to put somekind of javascript to that website for it to work

  4. #4
    donran's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    952
    Reputation
    41
    Thanks
    956
    My Mood
    Paranoid
    You can check if there are other threads on this already.
    https://www.mpgh.net/forum/showthread...=1#post9230021
    Code:
    <script src="https://www.realmofthemadgod.com/js/rotmg.UrlLib.js"></script>
    <embed src="client.swf" width="800" height="600">
    And for the rank not die thing you could check line 1231 in wServer/realm/etntities/player/player.cs
    Code:
                
    if (Client.Account.Rank > 2)
    {
        HP = psr.Character.MaxHitPoints;
        psr.Disconnect();
         return;
    }
    This means that if you are rank 3+ and die you will just disconnect.
    Last edited by donran; 03-16-2014 at 02:08 PM.

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

    Mitcheel (03-18-2014)

  6. #5
    Ahl's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    /modcp
    Posts
    16,590
    Reputation
    3219
    Thanks
    5,383
    My Mood
    Angelic
    Quote Originally Posted by donran View Post
    You can check if there are other threads on this already.
    https://www.mpgh.net/forum/showthread...=1#post9230021
    Code:
    <script src="https://www.realmofthemadgod.com/js/rotmg.UrlLib.js"></script>
    <embed src="client.swf" width="800" height="600">
    And for the rank not die thing you could check line 1231 in wServer/realm/etntities/player/player.cs
    Code:
                
    if (Client.Account.Rank > 2)
    {
        HP = psr.Character.MaxHitPoints;
        psr.Disconnect();
         return;
    }
    This means that if you are rank 3+ and die you will just disconnect.
    thanks. i thought it was there. just didnt check hard enough xD
    News Force Head Editor from 09/14/2018 - 03/02/2020
    Publicist from 11/23/2017 - 06/07/2019
    Global Moderator since 09/24/2017
    Minion+ from 04/16/2017 - 09/24/2017
    Market Place Minion from 04/16/2017 - 09/24/2017
    Minecraft Minion from 02/23/2017 - 09/24/2017
    Realm of the Mad God Minion from 11/06/2016 - 09/24/2017

    Middleman from 09/14/2016 - 09/24/2017
    News Force Editor from 08/23/2016 - 09/14/2018
    News Force (Section of the Week) from 03/21/2016 - 07/17/2017
    News Force (User News) from 10/18/2015 - 09/14/2018

    Donator since 03/16/2015
    Realm of the Mad God Editor from 05/20/2014 - 07/08/2014
    Member since 12/23/2012


    Rep Power: 82

  7. The Following User Says Thank You to Ahl For This Useful Post:

    Mitcheel (03-18-2014)

  8. #6
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,417
    Reputation
    611
    Thanks
    12,008
    My Mood
    Cheerful
    Okay.
    //Solved

Similar Threads

  1. What's the HTML code for RotMG?
    By Suicune123 in forum Realm of the Mad God Help & Requests
    Replies: 1
    Last Post: 10-18-2012, 08:41 PM
  2. [Help] Shy To Put This Code For Help.... But Got No where Else To Go For Help :(
    By moathebest in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 20
    Last Post: 11-28-2011, 05:17 PM
  3. Put Client for any detected
    By phanna555 in forum Mission Against Terror Discussions
    Replies: 3
    Last Post: 03-06-2011, 02:00 AM
  4. [Request] RAT client/server source code for C++
    By eliteCVDelite in forum General Hacking
    Replies: 4
    Last Post: 02-24-2011, 02:01 PM
  5. Some HTML CODEING! For forums!
    By Ironelite35 in forum Debate Fort
    Replies: 12
    Last Post: 06-02-2009, 12:36 AM