Bugs ...Report and help Fix

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 week ago #1294 by Nerian
Bugs ...Report and help Fix was created by Nerian
Ok guys I thought it might be beneficial for us to have a topic where we can report bugs and fixes or get help with getting bugs fixed that we have found


I have found a bug in Gickers D20 that I'm having a bit of a problem correcting....

My players after setting up stats can type setstats reset and reset their stats at any point in time they like...I foresee this being abused by restatting before leveling up to get more skill points...before a fight to get better Dex ...etc, etc..

Can anybody take a look

the lines I'm thinking maybe causing the problems are as follows
if (is_abbrev(arg1, "reset")) {
    send_to_char(ch, "You reset your stats back to the default values.\r\n");
    GET_STAT_POINTS(ch) = 20;
    ch->real_abils.str = 10;
    ch->real_abils.dex = 10;
    ch->real_abils.con = 10;
    ch->real_abils.intel = 10;
    ch->real_abils.wis = 10;
    ch->real_abils.cha = 10;
    return 1;
  }


or
if (GET_STAT_POINTS(ch) == 0) {
    send_to_char(ch, "You need to type @Ysetstats reset@n if you want to change your stats after using all of your points.\r\n");
    return 1;


Now I don't mind if they are in the stat room and resetting stats because they made a mistake, I am completely ok with that, but after they leave that room, I don't want them to be able to reset their stats to avoid abuse.

I have tried to change the above code into this
if (is_abbrev(arg1, "reset") && GET_ROOM_VNUM(IN_ROOM(ch)) == 30003) {
    send_to_char(ch, "You reset your stats back to the default values.\r\n");
    GET_STAT_POINTS(ch) = 30;
    ch->real_abils.str = 10;
    ch->real_abils.dex = 10;
    ch->real_abils.con = 10;
    ch->real_abils.intel = 10;
    ch->real_abils.wis = 10;
    ch->real_abils.cha = 10;
    return 1;
  }

but to no avail my test PCs can still reset anywhere

any help would be very much appreciated

Please Log in or Create an account to join the conversation.

  • Vatiken
  • Vatiken's Avatar
  • Offline
  • Administrator
  • Administrator
  • tbaMUD Programmer
More
8 years 1 week ago #1295 by Vatiken
Replied by Vatiken on topic Re: Bugs ...Report and help Fix
Please login to view the answers

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

  • zusuk
  • zusuk's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • LuminariMUD Developer
More
8 years 1 week ago #1296 by zusuk
Replied by zusuk on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 week ago #1345 by Nerian
Replied by Nerian on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago #1346 by Liko
Replied by Liko on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

  • zusuk
  • zusuk's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • LuminariMUD Developer
More
8 years 1 week ago #1347 by zusuk
Replied by zusuk on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100
The following user(s) said Thank You: Nerian

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 week ago #1353 by Nerian
Replied by Nerian on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 week ago #1362 by Nerian
Replied by Nerian on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • zusuk
  • zusuk's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • LuminariMUD Developer
More
8 years 1 week ago #1363 by zusuk
Replied by zusuk on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 week ago #1364 by Nerian
Replied by Nerian on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • zusuk
  • zusuk's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • LuminariMUD Developer
More
8 years 1 week ago #1368 by zusuk
Replied by zusuk on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 week ago #1371 by Nerian
Replied by Nerian on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • zusuk
  • zusuk's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • LuminariMUD Developer
More
8 years 6 days ago #1380 by zusuk
Replied by zusuk on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #1702 by Spencer
Replied by Spencer on topic Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 10 months ago #1703 by Nerian
Replied by Nerian on topic Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 10 months ago #1704 by Nerian
Replied by Nerian on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • zusuk
  • zusuk's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • LuminariMUD Developer
More
7 years 10 months ago #1707 by zusuk
Replied by zusuk on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100
The following user(s) said Thank You: Spencer

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #1710 by Spencer
Replied by Spencer on topic Re: Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • Nerian
  • Nerian's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 9 months ago #1718 by Nerian
Replied by Nerian on topic Bugs ...Report and help Fix
Please login to view the answers

Please Log in or Create an account to join the conversation.

  • zusuk
  • zusuk's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • LuminariMUD Developer
More
7 years 9 months ago #1729 by zusuk
Replied by zusuk on topic Bugs ...Report and help Fix
Please login to view the answers

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100

Please Log in or Create an account to join the conversation.

Time to create page: 0.178 seconds