Results 1 to 8 of 8
  1. #1
    LegumI's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    340
    Reputation
    10
    Thanks
    131
    My Mood
    Blah

    Character slots costing fame

    I changed all "credits" to "fame" in purchaseCharSlot.cs but it still takes gold, what else am I supposed to change?

  2. #2
    Demon's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Location
    Lost
    Posts
    1,095
    Reputation
    86
    Thanks
    316
    My Mood
    Angelic
    You need to edit something server-sided to make it consume gold ( PurchaseCharSlot.cs) i believe

    You edit client sided to change the currency type appearance ( Not Sure About the file)
    Last edited by Demon; 04-19-2017 at 08:20 AM.
    Nice

  3. #3
    MikeRaarupBirk's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    1,583
    Reputation
    38
    Thanks
    3,775
    My Mood
    Stressed
    Quote Originally Posted by DemonLives View Post
    You need to edit something server-sided to make it consume gold ( PurchaseCharSlot.cs) i believe

    You edit client sided to change the currency type appearance ( Not Sure About the file)
    do you read before answering

  4. The Following User Says Thank You to MikeRaarupBirk For This Useful Post:

    SlickEashy (04-19-2017)

  5. #4
    Riigged's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    no
    Posts
    3,846
    Reputation
    401
    Thanks
    10,254
    My Mood
    Devilish
    are you sure its not just displaying the gold icon sprite? because the visual is handled in the client side. and i believe there is also a check in the client that checks if current account gold balance is less than gold cost to return false and apply "not enough gold" frame, but the server side is what handles what is actually deducted and how much

    set your fame to 1,500 and your gold to 1,500 as well, buy a char slot (they are 1,000, right? sure lets go with that), if your fame gets deducted even though the gold icon is still there, then the server side editing you done is correct, and you just need to change the client visuals and edit the check that checks if gold is less than the slot cost

    but if your gold is deducted rather than your fame, then yes, the server editing was done wrong

    note: not deca client
    Last edited by Riigged; 04-19-2017 at 12:42 PM.

     








  6. #5
    LegumI's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    340
    Reputation
    10
    Thanks
    131
    My Mood
    Blah
    Quote Originally Posted by Riigged View Post
    are you sure its not just displaying the gold icon sprite? because the visual is handled in the client side. and i believe there is also a check in the client that checks if current account gold balance is less than gold cost to return false and apply "not enough gold" frame, but the server side is what handles what is actually deducted and how much

    set your fame to 1,500 and your gold to 1,500 as well, buy a char slot (they are 1,000, right? sure lets go with that), if your fame gets deducted even though the gold icon is still there, then the server side editing you done is correct, and you just need to change the client visuals and edit the check that checks if gold is less than the slot cost

    but if your gold is deducted rather than your fame, then yes, the server editing was done wrong

    note: not deca client
    Deducts gold

  7. #6
    Riigged's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    no
    Posts
    3,846
    Reputation
    401
    Thanks
    10,254
    My Mood
    Devilish
    Quote Originally Posted by LegumI View Post
    Deducts gold
    and you changed all of these?

     








  8. #7
    RampantSchlong's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    8
    Stupid post \\\
    IGNORE ME

  9. #8
    LegumI's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    340
    Reputation
    10
    Thanks
    131
    My Mood
    Blah
    solved @Ahlwong @059

Similar Threads

  1. [Help Request] Make buying character slots worth fame instead of gold
    By Narwallz in forum Realm of the Mad God Private Servers Help
    Replies: 1
    Last Post: 06-21-2016, 06:28 PM
  2. How to make Character Slots cost Fame [Fabiano]
    By Juix in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 10
    Last Post: 01-12-2016, 03:03 PM
  3. [WTS] ROTMG Account 10 8/8s, 17 character slots, legendary pet, 11k fame (MP HEAL, HEAL)
    By rotmgseller1 in forum Realm of the Mad God Selling / Trading / Buying
    Replies: 21
    Last Post: 10-03-2014, 04:31 PM
  4. SELLING ROTMG ACCOUNT 54 STARS, 7 CHARACTER SLOTS, 6 VAULTS. 5 MAXED CHARS 3654 FAME
    By lukeyy2197 in forum Realm of the Mad God Selling / Trading / Buying
    Replies: 8
    Last Post: 10-02-2013, 04:39 AM
  5. Price Check - 7 Character Slots - 39 Stars - 6900 Base Fame - 290 Gold - 7 Vaults -
    By TheDeniedOne in forum Realm of the Mad God Selling / Trading / Buying
    Replies: 15
    Last Post: 07-16-2013, 11:24 PM