Jump to content

Rynbef

Forum Moderator
  • Posts

    941
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Rynbef

  1. @ErossIt's not the best way I think. Maybe other member have a better solution. CoolDownChangeOnPVPMaps.txt We need a skill_colldown.yml to adjust colldown on skills at PvP, gvg and else. Rynbef~
  2. @chadnessU can do it like u able to use unitwalk(GID,X, Y, strnpcinfo(3)+"::MobArrived01"); After spawning add this. Don't forget to store the GID of the mob at spawn. If the mob arrived the Event MobArrived01 will triggerd. U can add small randomize sleep to keep it randomly. So u have ur moving emperium with just Script changes. For more clarity take a look at the "Monster/Poring Race" Rynbef~
  3. U can wrote an own TeamSpeak plugin with communicates with the server to send ur speak to clients of a party, guild, map, in near of x cells. And global, announcements or else. Of course u need src modification. If u modify TeamSpeak like I've said u don't need to modify the client. Of course it's possible to this for Discord. Take a look at RageMP/AltV/Five.mp Of course u can add a plugin to the client with a voice codec and need modification of ur src of rAthena. But Voice Files may be very high and could be laggy. Inject ur dll into ur client and try it. Rynbef~
  4. U need to enable "increase attack display" patch on ur client (with NEMO/WARP) Rynbef~
  5. Please don't reopen so old threads. It's a bit confusing cuz the date and the sort of the posts. // Minimum account group id required to connect to server. // Will not function if group_id_to_connect config is enabled. // -1: disabled // 0 or more: group id min_group_id_to_connect: -1 Rynbef~
  6. Thor Patcher doesn't able to use https (SSL) u need to use http(port 80 instead of 443) and disable "force use of https instead of http" in ur Webserver configuration. Rynbef~
  7. @chadnessMaybe u can use mine old Warper (2016) but U have to add the changes since 2016. Rynbef's SQL Warper Note: I will update it later and I will upgrade the coordinates from Euphys Warper. Add an Auto Insert SQL at the OnInit event. I want to add an Ingame Based Manager to add, restrict, enable, disable or edit Maps or Sub-/ Categories. With managing commands too. It's will also contains a small tool to change all coordinates based on Euphys Warper to my SQL One. Rynbef~
  8. @lLoydxxNydhoggsNest: Does every character in the party have the minimum requirement of base level 70? U can change it by searching for: instance_check_party Rynbef~
  9. It's could be done by a cutin. It's not rly efficient but it's possible. Otherwise create ur own effect. Rynbef~
  10. It seems u use a custom damage font. Maybe just use the default one. Rynbef~
  11. @eakzoi How @WhiteEaglealready said. This is the solution u requested. Fakeplayer() returns the Mob GID after spawn. U can store it in a variable and use setunitdata() to change or randomize the stats etc. Rynbef~
  12. @chadnessOpps! I was a bit distracted while I want to help as fast as possible. Of course we need to subtract the first entry of the array and not the array itself ? I'm sorry for this fail? RandomQuest.txt Rynbef~
  13. @eakzoiU able to realize it by using setunitdata() Take a look at doc/script_commands.txt Rynbef~
  14. @chadnessPlease next time use code box or attach ur file. It's easier to copy/edit and read. I've just added a delay as u want(if I understand u correctly). A check if 60 minutes ago since the completion of the last quest ago and an additional check if it was the same day. If it is a dialog will open and tells the player how many minutes he have to wait. //not tested RandomQuest.txt Rynbef~
  15. @Frozektake a look at doc/item_bonus.txt. Put OnEquip: bonus2 bExpAddClass,Class_All,-100; And OnUnequip: bonus2 bExpAddClass,Class_All,0; Rynbef~
  16. @lLoydxx 2nd Endless Tower on line 2124 the monster "Naght Sieger" have their own label when he killed and this will trigger if he's died. I added ur request. If some of a player of the party kill Naght Sieger a loop though the party members will start and give the item to the party master if he's online. EndlessTower changed.txt //NOTE: Not tested Rynbef~
  17. explode(.@array$,"This:is:the:split:to:array:string",":"); That's what ur looking for I think. Rynbef~
  18. @lLoydxxfirst of all I've spend a lot of time to optimize the Ceffenia script u've attached. My language knowledge u used in the script is equals to zero? Portuguese I think. I haven't the time to correct the other scripts yet but if no one else will done it I will come back later and fix it. Optimizations U've added the if statement (gettime) on top of the script. This will only triggerd when the script starts. The event OnClock2357 triggers every day at the same time and without any check. U need to add the if statement on this label. The day u want to start-1. I've removed the sleep timer cause a 24 hours sleep isn't a good idea. I've added an announcement if the day is the 5th or 20th to announce the event will stop in x minutes(3,2,1) and that's what I mean with my portuguese knowledge. I hope I've write the correctly sentence? U need another event OnClock0000 and then check if it's the 5th or 20th of a month and enable the npc. Of course if it is the 6th or 21th warp players out of map. Do the announcement and disable the npc. I've added a check OnInit if it is the 5th or 20th of a month to enable or disable the event. Cuz' if the server crashes or u need to perform a reloadscript the event will stop. It's stupid if the event should enabled 24hrs and the server crash after 2hrs as example. I corrected a lot of the formatting cuz' it's know much better to read and understand. I've replaced the menu with switch(select()) it's much easier to read and u don't need the thousands of labels. Just cases for each menu point. Also removed the next; on each label and put it before select. Monsters, Mapflags or Warp Portals should be on the bottom of a script not in the middle. //the script should be do what u want. I'm not able to test it cuz' I'm on mobile and a few hundred miles from my home. As I already said at beginning I'll change and optimize the other scripts later if now one already done it. Please let me know if everything works. cheffenia changed.txt Rynbef~
  19. Maybe reinstall ur database server software. Rynbef~
  20. @powkdaI've posted a modified version above. Just replace ur case and check if it works. I can only recommend u to study about close; close2; and end; I've already explained it. Not only on this thread. U should read the rA/doc/script_commands.txt Manual! U do again used close; and end; wrong. Maybe attach ur full script. So I can understand why ur case needs a next; Is their a dialog before? Rynbef~
  21. @Natsu Dragneelsearch for ur mysql config file (my.cnf). On Linux: /etc/mysql/my.cnf Change: bind-address = 127.0.0.1 To: #bind-address = 127.0.0.1 This will allow remote access to the database. But be careful! Use a iptable or UFW to allow only packets/connections from ur server ip. U need to change that the database user is accessible from other server. Of course restart ur server. Rynbef~
  22. @riopplease give us more informations. Please attach a screenshot of ur servers (char, map and login). Maybe attach ur config files (char_*, map_*, login_*, inter_* (athena.conf)) Which version of rAthena u're using(is it an old one?) ? Which OS u're using? Do u installed a security system like Avira, Kaspersky and Co.? Do u have administrator rights on ur computer? -Try to run as administrator Do u've tried to add the servers to ur firewall? Or maybe ur security system to grant all rights. Which program ur using for ur database (MySQL) (Xampp as ex.)? Do u create a database and an user with all needed permissions to the db? Ur changed settings of ur mysql server? Maybe the port (default: 3306)? Is the mysql server on the same system or a virtual machine/other conputer/root or else? NOTE: This could be much easier to solve ur problem if u provide directly every informations u've tried and attach the exactly problem as screenshot or log file as example. Rynbef~
  23. @phopsound1992 https://github.com/rathena/rathena/blob/master/doc/item_bonus.txt There is everything u need. Just add some if-else conditions on item bonus script. Rynbef~
  24. @Sephiroth91their is a script command that's special for commands defined by bindatcmd. *useatcmd "<command>"; This command will execute a script-bound atcommand for the attached RID. If the supplied command is not bound to any script, this command will act like 'atcommand' and attempt to execute a source-defined command. Rynbef~
  25. @powkda Some small suggestions if u only want to know if player don't have one of an item u better change from: if(countitem(31000)<1) To: if(!countitem(31000)) If u just need the label noanel once. U should better put the code directly to the if statement. It will be better than goto a label u only need once. U don't need to close; and end; the script. Close end the dialog (mes etc). End stops the script. It's as example used if no dialog is open. If u want to close the dialog but u want to do something like getitem, delitem or else where u need to keep player attached u can use close2. It will close the dialog normally but the script do stuff in background. Than u need to end the script afterwards. On switch case u can use break; to jump directly to the code after the switch. It will ignores the other cases. This should works for u: case 1: if(!countitem(31000))goto noanel; getinventorylist; for(set .@i,0; .@i<@inventorylist_count; .@i++){ if(@inventorylist_id[.@i] == 31000 && !@inventorylist_equip[.@i]){ delitem @inventorylist_id[.@i],1; getitem 30001,5; next; mes "^FF0000["+strnpcinfo(1)+"]^000000"; mes "Aqui está a sua recompensa."; close; } else if(.@i==inventorylist_count){ //they only have the equipped item close; } else continue; } end; Feel free to PM me if u need help. I'm already willing to help. Rynbef~
×
×
  • Create New...