Jump to content

Gouki

Members
  • Posts

    261
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Gouki

  1. On 3/13/2022 at 10:58 PM, Slammer said:

      - Id: 4001
        AegisName: Poring_Card
        Name: Poring Card
        Type: Card
        Buy: 20
        Weight: 10
        Locations:
          Armor: true
        Flags:
          BuyingStore: true
          DropEffect: CLIENT
        Script: |
          bonus bLuk,2;
          bonus bFlee2,1;
        add
        Flags:
          DropAnnounce: true

    I added the DropAnnounce: true but it is not announcing, would there be any other modification needed?

  2. On 5/15/2021 at 11:53 AM, sader1992 said:
    set .item_id, 12903; // next item id to shower

    to

    set .item_id1, 12903; // next item id to shower

    and

    .@var = rand(2);
    makeitem .@var?.item_id:.item_id2,1,.@map$,.@x_diff,.@y_diff;   // <<< im stuck on this

    to

    makeitem getd(".item_id" + rand(1,8)),1,.@map$,.@x_diff,.@y_diff;   // <<< im stuck on this

     

     

    And this is a better way to do your script

    -	script	Sample	-1,{
    OnInit:
    	set .amount, 10; // amount of item to shower
    	setarray .ItemID,12903,12904,12905,12906,12907,12908,13576,13584;
    	.Size = getarraysize(.ItemID);
    
    	bindatcmd "itemshower",strnpcinfo(3)+"::OnShower";
    end;
    
    OnShower:
    	getmapxy(.@map$, .@x, .@y, BL_PC);
    	while ( .count < .amount ) {
    		do {
    			.@x_diff = .@x + rand(1,5);
    			.@y_diff = .@y + rand(1,5);
    		} while (!checkcell(.@map$,.@x_diff,.@y_diff,cell_chkpass));
    		makeitem .ItemID[rand(.Size)],1,.@map$,.@x_diff,.@y_diff;   // <<< im stuck on this
    		set .count, .count + 1;
    	}
    	set .count, 0;
    end;
    }

     

     

    btw "bindatcmd "itemshower",strnpcinfo(3)+"::OnShower";" means any player can use the command

    Hi @sader1992, just wanting to know how'd you enable the canShowEffect option on makeitem script command? I've tried True,Enable,1,dropEffect words trying to enable it but failed.

    makeitem <item id>,<amount>,"<map name>",<X>,<Y>{,<canShowEffect>};

    EDIT: Fixed, updated my emu

  3. I'm just going to leave this here, some time ago I have bought customized items from @Haziel, and Haziel reiterated that this specific items was only sold to me because it wasn't released yet on his discord, even until now it is not released. however, it managed to got out and was resold. My public GRFs are encrypted, so it's pretty sure that no one can steal these works of Haziel.

    How'd it managed to got out? I don't know but the only thing I know is that Andro needs decrypted GRFs, which I applied for and submitted to him.

    When Haziel approached me, he wasn't shocked at all. He new right away who might the culprit be and said that it was not only me who got victimized by this.


    Maybe you just got hit by Karma ey? 1st off its hard to contact you, 2nd your turnaround time is long, 3rd, pricey.

    • MVP 3
  4. Yes this specific variable is not triggered by oninit and onpcloginevent aswell. 

     

    On 6/14/2022 at 8:59 AM, Tokei said:

    Long story short, you need to restart your server.

    As for why... that is due to how SQL data is used on the map-server. When the map-server starts, it reads all the variables in the mapreg table and loads them into memory. This way, when you want to access the variable in-game (when you use @set $variable), the value is easily accessible without having to look it up with your SQL server. This is done for various other features, like your character inventory, quests, achievements, player stats, etc.

    In either case, when you edit or delete the entry in SQL while it is still being loaded in memory, it will not have any impact in-game because that is not where the data is being read from. Doing so can actually cause issues as well if you're not careful. So you need to close your server, truncate the table, and then restart your server.

    Thank you for the perfect explanation, appreciate it @Tokei

  5. Tried make all sleep2 to 3000, still the itemskill doesn't execute. I'm not sure why. the goal of the sleep2 is just to let the animation of the effect finish before the other triggers, is there a natural script command to perform and let the effects finish first before moving to the next script? or sleep2 is the only way in this case?

  6. Just wanting to ask if rodex or mail dupe still a thing?

    Im worried to turn my rodex on to avoid this concern in  the future.

    Im not sure how to reproduce this, but on the previous server, my friend happened to accidentally duped an item, not sure what client that server uses.

  7. If you were to buy a hosting, what do you consider based from your experience? What is your go to options/settings?

    Ofcourse Dedicated is better but...
    CPU: AMD / INTEL XEON / INTEL I Series ?
    CORES/GHz: ?
    Memory: ?
    Public Bandwidth: Does this matter? ex. 500mbps/unmetered enough?

    I know most developers would say, rAthena could run on the most cheapest VPS. But, what I'm looking for is your experiences where you had the most stable connection even reaching 500+ people on the server.
    I had experiences, owning a Dedicated Game Server in OVH and still gives Latency issues where in time, when your character walks on a straight path you'd notice it to turn back once in a while. (not sure if this is server issue tho)

    Share your go to Hosting Provider and dedicated server specifications if you are expecting a high volume of people on your server (500 - 1,000) , better if it's direct company like OVH, Digital Ocean, ETC.. THANK YOU!

×
×
  • Create New...