You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidlesser_demon_tick (CHAR_DATA *mob, AFFECT_DATA *af)
{
...
case(MOB_VNUM_AAMON):
if (af->duration == 4) {
do_emote(mob,"taps his foot irritably.");
break;
}
if (af->duration == 1) {
do_emote(mob,"laughs giddily and whirls to leave.");
RS.Queue.AddToQueue(1, 2, do_say,mob, (char*)"I'll be leaving now, and leaving you to your thoughts. You'll never know the answer to my riddle.");
RS.Queue.AddToQueue(2, 5, act, "With a puff of hazy purple smoke and a sound like a cough, $n disappears.", mob, 0, 0, TO_ROOM);
RS.Queue.AddToQueue(3, 1, delay_extract, mob);
break;
}
...
}
voiddo_listoffer(CHAR_DATA *ch, char *argument)
{
...
sprintf(query,"SELECT * FROM offerings WHERE deity = \"%s\" %s ORDER BY time ASC",
ch->true_name, autol ? "AND status = 0" : "");
... more logic ...
}
voiddo_offer(CHAR_DATA *ch, char *argument)
{
...
sprintf(query, "SELECT * FROM offerings WHERE deity = \"%s\" AND player = \"%s\" ORDER BY time DESC LIMIT 1",
altar->in_room->owner, ch->true_name);
... more logic ...
}
voiddo_demo(CHAR_DATA *ch, char *name)
{
...
sprintf(buf,"There are currently %i limited items in the game (%i on players).\n\r",i,r);
send_to_char(buf,ch);
return;
... more logic ...
}
boolcheck_volley(CHAR_DATA *ch, CHAR_DATA *victim)
{
int skill, chance;
//CH is caster of offensive spell, victim is victimreturnFALSE;
... more logic ...
}
Ongoing issue where we include logic issues found in the code:
act_info.c
act_move.c
act_obj.c
act_wiz.c
this might be just advancing a pointer, so marking as possible
ap.c
this might be a case where you want fall through
comm.c
this might be just advancing a pointer, so marking as possible
this might be a copypasta error
db.c
this might be just to ignore the case
Memory leak - file pointer never closed
devextra.c
SQL injection
SQL injection
Memory leak - sql pointer never closed
SQL injection - this method has several instances of sql injection
multiple instances
dioextra.c
handler.c
iprog.c
misc.c
The text was updated successfully, but these errors were encountered: