Jump to content

rockyroad

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by rockyroad

  1. On 6/8/2020 at 4:57 AM, mhanfs said:

    please help, i installed rathena server from this tutorial thread and i could play smoothly like a month ago, but now I just do update rathena from git, and got error about sql 'hotkey_rowshift2',

      Reveal hidden contents

    4c0xtdg.png

    edit : solved but i got another problem

    I had the same error also after updating from git? can you pls help me how did you fix it? 

  2. Hi Community,

    Newbie here trying to play around my offline server

    I'm trying to change Dimension door to randomly teleport players to any available cell to lets say 15x15 range only

    the idea is to get players to try to cross nearby walls or any obstruction within the area, monsters are ok to be warped map wide

    		case UNT_DIMENSIONDOOR:
    			if( tsd && !map[bl->m].flag.noteleport )
    				pc_randomwarp(tsd,3);
    			else if( bl->type == BL_MOB && battle_config.mob_warp&8 )
    				unit_warp(bl,-1,-1,-1,CLR_TELEPORT);
    			break;

    if i understood, pc_randomwarp(sd,clrtype) is the function for teleport so I need to change it into pc_setpos(sd,mapindex,x,y,clrtype)

    The problem is im stuck setting the x y coordinates for random cell within a range, I tried scavenging for similar functions of other skills but still no luck on making it work ?

×
×
  • Create New...