Thread: I got a problem I give 5 $ if some one fix it !

Results 1 to 5 of 5
  1. #1 I got a problem I give 5 $ if some one fix it ! 
    Donator
    ownervs911's Avatar
    Join Date
    Jul 2013
    Posts
    166
    Thanks given
    6
    Thanks received
    4
    Rep Power
    11
    On my server 2 player with the same ip cant play in the same time . I cant find where to change the limite ip on the same client Cant some help on this ?




    I gonna help I have setting.java but there no max_ip thing in there ?


    package com.rs;

    import java.math.BigInteger;

    import com.rs.game.WorldTile;
    import com.rs.utils.Utils;

    public final class Settings {

    public static final String SERVER_NAME = "New-world";
    public static final String OWNER = "Coder";
    public static final int PORT_ID = 43594;
    public static final int CLIENT_BUILD = 718;
    public static final int CUSTOM_CLIENT_BUILD = 1;
    /**
    * General client and server settings.
    */
    public static final String CACHE_PATH = "data/cache/";
    public static final int RECEIVE_DATA_LIMIT = 7500;
    public static final int PACKET_SIZE_LIMIT = 7500;

    /**
    * Link settings
    */
    public static final String WEBSITE_LINK = "";
    public static final String ITEMLIST_LINK = "";
    public static final String ITEMDB_LINK = "";
    public static final String VOTE_LINK = "";

    /**
    * Rare Drop Names
    */
    public static String[] RARE_DROPS = {
    "pernix", "torva", "virtus", "bandos", "armadyl", "hilt", "hati",
    "korasi", "divine", "steadfast", "glaiven", "ragefire", "spirit shield",
    "fury", "arcane", "chaotic"
    };

    /**
    * Launching settings
    */
    public static boolean DEBUG;
    public static boolean HOSTED;
    public static boolean ECONOMY;

    // Staff rights and Max Starter amount
    public static final int MAX_STARTER_AMOUNT = 2;
    public static final int IS_OWNER = 7;
    public static final int IS_KING_DONATOR = 3;
    public static final int IS_ADMIN = 2;
    public static final int IS_MOD = 1;
    public static final int IS_HELPER = 6;
    public static final int IS_EXTREME_DONATOR = 9;
    public static final int IS_DONATOR = 8;

    /**
    * If the use of the managment server is enabled.
    */
    public static boolean MANAGMENT_SERVER_ENABLED = true;

    /**
    * Graphical User Interface settings
    */
    public static final String GUI_SIGN = "Artisticy GUI";
    public static final String LINE_SEPARATOR = System.getProperty("line.separator");

    /**
    * Player settings
    */
    public static final int START_PLAYER_HITPOINTS = 100;
    public static final WorldTile START_PLAYER_LOCATION = new WorldTile(2403, 2836, 0);
    public static final String START_CONTROLER = "null";
    public static final WorldTile RESPAWN_PLAYER_LOCATION = new WorldTile(2403, 2836, 0);
    public static final long MAX_PACKETS_DECODER_PING_DELAY = 30000; // 30seconds
    public static final int COMBAT_XP_RATE = 150;
    public static final int SKILLING_XP_RATE = 200;
    public static int DROP_RATE = 1;

    /**
    * World settings
    */
    public static final int WORLD_CYCLE_TIME = 525; // the speed of world in ms

    /**
    * Music & Emote settings
    */
    public static final int AIR_GUITAR_MUSICS_COUNT = 50;

    /**
    * Quest settings
    */
    public static final int QUESTS = 183;

    /**
    * Memory settings
    */
    public static final int PLAYERS_LIMIT = 2000;
    public static final int LOCAL_PLAYERS_LIMIT = 250;
    public static final int NPCS_LIMIT = Short.MAX_VALUE;
    public static final int LOCAL_NPCS_LIMIT = 250;
    public static final int MIN_FREE_MEM_ALLOWED = 30000000; // 30mb

    /**
    * Game constants
    */
    public static final int[] MAP_SIZES = { 104, 120, 136, 168, 72 };

    public static final String GRAB_SERVER_TOKEN = "hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx";
    public static final int[] GRAB_SERVER_KEYS = { 1441, 78700, 44880, 39771,
    363186, 44375, 0, 16140, 7316, 271148, 810710, 216189, 379672,
    454149, 933950, 21006, 25367, 17247, 1244, 1, 14856, 1494, 119,
    882901, 1818764, 3963, 3618 };

    // an exeption(grab server has his own keyset unlike rest of client)
    public static final BigInteger GRAB_SERVER_PRIVATE_EXPONENT = new BigInteger("95776340111155337321344029627634178888 62610179158224522858675069799671345401935471657707 75775581569761779944798377609896913564389748796472 93064177555518187567327659793331431421153203931914 93385852685739642805226692650786060316670508430284 57403101783060014007776705919584666536372751314988 66778592148380588481");
    public static final BigInteger GRAB_SERVER_MODULUS = new BigInteger("11955533126099553049462732219165481661 31554766126038171030796899259954022634578958908291 48093414135342420807287820032417458428763496565605 97016393669681148550055350674397952146548980174697 33929018855887774620231652524839884318774110218164 45058706597607453280166045122971960003629860919338 852061972113876035333");

    public static final BigInteger PRIVATE_EXPONENT = new BigInteger("90587072701551327129007891668787349509 34763040821504508280762828577004966423215677675565 41985054129565862899813064331465033084110673586801 17206732091608088418458220580479081111360656446804 39756075245536786262037053746105033422444816707136 77434071848520578333239171703233027973563526721185 95769338616589092625");
    public static final BigInteger MODULUS = new BigInteger("10287663727111612473233850066363964311 35044647893392494903993126596747720393148759041768 09267475033772367707882873773291786014475222178654 93244225412573162278152441320852346552075853706040 85416102546191669071425937313376184908798314014619 45679478046811438574041131738117063340726565226753 787565780501845348613");
    public static final int[] DONATOR_ITEMS = { /* TODO */};

    private Settings() {

    }
    }


    Reply With Quote  
     

  2. #2  
    Typical Swede

    Matt''s Avatar
    Join Date
    Jul 2008
    Age
    25
    Posts
    1,100
    Thanks given
    186
    Thanks received
    151
    Rep Power
    215
    Config.java > public static final int IPS_ALLOWED = 1; change that value to a higher number

    'Strange things did happen here no stranger would it be'
    ______________________________________________
    Reply With Quote  
     

  3. #3  
    Donator
    ownervs911's Avatar
    Join Date
    Jul 2013
    Posts
    166
    Thanks given
    6
    Thanks received
    4
    Rep Power
    11
    Quote Originally Posted by Matt' View Post
    Config.java > public static final int IPS_ALLOWED = 1; change that value to a higher number
    No sorry I dont have Config.java in my client or source it a 718


    Reply With Quote  
     

  4. #4  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    969
    Thanks given
    47
    Thanks received
    156
    Rep Power
    365
    Look around the login decoder. Right where the player gets authenticated.
    My informative threads:
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Typical Swede

    Matt''s Avatar
    Join Date
    Jul 2008
    Age
    25
    Posts
    1,100
    Thanks given
    186
    Thanks received
    151
    Rep Power
    215
    oh, then loginpacketsdecoder (or whatever)

    Code:
    		if (AntiFlood.getSessionsIP(session.getIP()) > 2) {
    			session.getLoginPackets().sendClientPacket(9);			return;		}

    'Strange things did happen here no stranger would it be'
    ______________________________________________
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. if some one makes me a 718 webby
    By divinehavok in forum Buying
    Replies: 2
    Last Post: 07-01-2013, 12:26 AM
  2. Replies: 0
    Last Post: 02-06-2011, 11:30 PM
  3. [562] Walking fix: Can some one post it
    By X_JC_X in forum Requests
    Replies: 4
    Last Post: 01-03-2010, 06:59 PM
  4. Replies: 8
    Last Post: 10-21-2009, 01:47 AM
  5. some 1 fix it ?:S
    By b33r in forum Help
    Replies: 0
    Last Post: 07-16-2009, 10:13 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •