Jump to content

bWolfie

Members
  • Content Count

    848
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by bWolfie


  1. 1 hour ago, astralprojection said:

    It was too easy to get BADGE without actually spending time and waste lot of pots killing someone at BG.
    How?
    - ask a friend playing BG to pm you when session is about to end.  They see message  "1 min to end the bg" something like that.

    - join BG and wait until finish.  You get reward.

    HOW TO PREVENT THIS?

    put timer when player can last join? easy enough just add timer or edit game mode scripts so they cant join past certain point.


  2. these are clone maps you can make them using resnametable

    bat_a03 <-> bat_a01
    bat_a04 <-> bat_a01
    bat_a05 <-> bat_a01
    bat_b03 <-> bat_b01
    bat_b04 <-> bat_b01
    bat_b05 <-> bat_b01
    schg_cas06 <-> schg_cas01
    schg_cas07 <-> schg_cas02
    schg_cas08 <-> schg_cas03
    arug_cas06 <-> arug_cas01
    arug_cas07 <-> arug_cas02
    arug_cas08 <-> arug_cas03
    rush_cas01 <-> payg_cas01
    rush_cas02 <-> aldeg_cas01
    rush_cas03 <-> prtg_cas01
    rush_cas04 <-> gefg_cas03
    bat_c03 <-> bat_c01
    bat_c04 <-> bat_c01
    bat_c05 <-> bat_c01
    bat_c06 <-> bat_c01
    bat_c07 <-> bat_c01
    bat_c08 <-> bat_c01
    region_8 <-> guild_vs2


  3. This is my atcommand. I thought it was working since the clif->message is displaying correct message when I use it.

    // @my_state - sets state.my_state
    ACMD(my_state)
    {
    	struct player_data *ssd;
    	if ((ssd = getFromMSD(sd, 0)) == NULL) {
    		CREATE(ssd, struct player_data, 1);
    		addToMSD(sd, ssd, 0, true);
    	}
    
    	ssd->state.my_state = !ssd->state.my_state;
    	clif->message(fd, msg_fd(fd, (ssd->state.my_state) ? 1553: 1554));  // my_state mode [enabled/disabled].
    
    	return true;
    }

     

    When I mean return 0, I mean function is returning 0. It's not relevant to issue.
    ssd->state.my_state should return 1 after using my atcommand, but it's always returning 0 (I tested using ShowDebug("%d", ssd->state.my_state); in my 2nd code box)

    Edit: I tested by returning each ssd, and it seems they are not the same ssd?
    I.e. the ssd in the @my_state command is not the same as the one in my function.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.