AFKMUD 2.14 oset issue
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Mar 19, 2012 3:54 pm
Last edited Mar 20, 2012 8:01 pm by Samson
Fledgling
GroupMembers
Posts33
JoinedDec 20, 2010
I recent was trying to add new affect and i noticed a bug in the code.
if( !str_cmp( arg2, "affect" ) ) { affect_data *paf; bitset < MAX_RIS_FLAG > risabit; short loc; bool found = false; risabit.reset( ); //argument = one_argument( argument, arg2 ); argument = one_argument( argument, arg3 ); arg4 = argument; //if( arg2.empty( ) || argument.empty( ) ) if( arg3.empty( ) || argument.empty( ) ) { ch->print( "Usage: oset
#2 Mar 19, 2012 8:38 pm
Magician
GroupMembers
Posts189
JoinedSep 5, 2010
You might want to point out what the bug is and why it's a bug. And whether or not you fixed the bug and/or looking for help.
#3 Mar 20, 2012 7:01 am
Fledgling
GroupMembers
Posts33
JoinedDec 20, 2010
Sorry about that I did not think I posted this yet. I started last night then ended up working on another issue.
This bug never passes all the arguments through. They needed to be incremented by 1.
This bug never passes all the arguments through. They needed to be incremented by 1.
Pages:<< prev 1 next >>