Jump to content

kilow

Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by kilow

  1. Thank you Sader1992 for your speedy answer. Also it works fine. //creating an array with the values with no duplication for(.@i=0;.@i<getarraysize($account_id);.@i++){ if(inarray(.@vtemp,$account_id[.@i]) == -1){ .@vtemp[getarraysize(.@vtemp)] = $account_id[.@i]; // ; just missing here } } for(.@i=0;.@i<getarraysize(.@vtemp);.@i++){ debugmes .@result_count[.@i] + " = " + .@result_value[.@i]; // this part retrieves only the first index, I don't know why, but i replaced .@i by the idx (0,1,2,3...) and so one line for each index }
  2. Hello,i have a first script wich save account id in array. I would like to retrieve the 3 frequent value (account id) from this array. example with the array $account_id: $account_id[0] = 200008 $account_id[1] = 200008 $account_id[2] = 200008 $account_id[3] = 200008 $account_id[4] = 200006 $account_id[5] = 200006 $account_id[6] = 200006 $account_id[7] = 200004 $account_id[8] = 200004 $account_id[9] = 200009 Here i need the script to retrieve : 1 = 200008 2 = 200006 3 = 200004 Thanks for the help!
  3. [Edit] : Solved after an update of his computer. Hello, A player told me that client crash just after opening it. ( Note : For others players, this is not the case ) he said that he already played at RO with this computer. He also tried to change graphical ressource in setup but it didn't work. here i have the message created by Gepard ( Functor was contacted and he said that's not related to gepard ). Thank you! Ragnarok has been crashed! UTC Time: 20/08/2021 18:05:14 Local Time: 20/08/2021 20:05:14 EXE version: 2015-11-02 Gepard version: 2021052001 OS version: Windows 10 0x758446d2 KERNELBASE.dll 0x63439863 MSVCR110.dll 0x6347a25b MSVCR110.dll 0x00484154 Seeds of Salvation.exe 0x006561c9 Seeds of Salvation.exe 0x006ba464 Seeds of Salvation.exe 0x006b9f1f Seeds of Salvation.exe 0x006b6da9 Seeds of Salvation.exe 0x021620f0 Seeds of Salvation.exe 0x0099213d Seeds of Salvation.exe 0x00994027 Seeds of Salvation.exe 0x77498914 ntdll.dll 0xffffffffffffffff ---------- 0x774ba0ea ntdll.dll EAX: 0x0019f888 | 0001702024 ECX: 0x00000003 | 0000000003 EDX: 0x00000000 | 0000000000 EBX: 0x7265706d | 1919250541 ESI: 0x00000000 | 0000000000 EDI: 0x0768e990 | 0124316048 ESP: 0x0019f888 | 0001702024 EBP: 0x0019f8e0 | 0001702112 EIP: 0x758446d2 | 1971603154 DR0: 0x00000000 | 0000000000 DR1: 0x00000000 | 0000000000 DR2: 0x00000000 | 0000000000 DR3: 0x00000000 | 0000000000 DR6: 0x00000000 | 0000000000 DR7: 0x00000000 | 0000000000 ============================================================================= RST: 0 SST: 0 CST: 0 TCI: 1 TL1: 0 TL2: 15 TL3: 5 SC_1: 0 SC_2: 0 SC_3: 0 SC_4: 0 SC_5: 0 SC_6: 0 PVF_1: 0 PVF_2: 0 PVF_3: 0 PVF_4: 0 PVF_5: 0 EB: 0 0 0 0 PID: 0 =================================== Stack =================================== 0019f888: 63 73 6d e0 01 00 00 00 00 00 00 00 d2 46 84 75 csm F u 0019f898: 03 00 00 00 20 05 93 19 28 f9 19 00 48 74 44 63 ( HtDc 0019f8a8: 03 00 00 00 00 00 00 00 0f ae 4c 0e 00 00 00 00 L 0019f8b8: 00 00 00 00 00 00 00 00 6d 70 65 72 00 00 00 00 mper 0019f8c8: 00 00 00 00 00 50 23 00 e8 f8 19 00 b9 f8 48 77 P# Hw 0019f8d8: 05 00 00 00 b1 8d ec 11 18 f9 19 00 63 98 43 63 c Cc 0019f8e8: 63 73 6d e0 01 00 00 00 03 00 00 00 0c f9 19 00 csm 0019f8f8: 63 73 6d e0 01 00 00 00 00 00 00 00 00 00 00 00 csm 0019f908: 03 00 00 00 20 05 93 19 28 f9 19 00 48 74 44 63 ( HtDc 0019f918: 38 f9 19 00 5b a2 47 63 28 f9 19 00 48 74 44 63 8 [ Gc( HtDc 0019f928: 38 76 44 63 c4 51 43 63 00 00 00 00 c4 51 43 63 8vDc QCc QCc 0019f938: 68 f9 19 00 54 41 48 00 6d 70 65 72 a2 9e 27 d7 h TAH mper ' 0019f948: 40 eb 9c 06 6d 70 65 72 90 e9 68 07 00 00 00 00 @ mper h 0019f958: 44 f9 19 00 8c f9 19 00 10 b2 9b 00 ff ff ff ff D 0019f968: 98 f9 19 00 c9 61 65 00 6d 70 65 72 52 9e 27 d7 ae mperR ' 0019f978: 40 eb 9c 06 20 20 02 10 6d 70 65 72 90 e9 68 07 @ mper h 0019f988: 74 f9 19 00 d8 f9 19 00 c0 ab 9f 00 ff ff ff ff t 0019f998: e4 f9 19 00 64 a4 6b 00 6d 70 65 72 2e 9e 27 d7 d k mper. ' 0019f9a8: 70 e9 68 07 40 18 ad 00 00 00 16 21 20 90 54 06 p h @ ! T 0019f9b8: 48 eb 9c 06 48 eb 9c 06 f0 ea 9c 06 84 e9 68 07 H H h 0019f9c8: 20 5b 48 00 88 a3 3f 01 7a 28 01 00 70 e9 68 07 [H ? z( p h 0019f9d8: 1c fa 19 00 58 53 a0 00 00 00 00 00 f8 f9 19 00 XS 0019f9e8: 1f 9f 6b 00 28 c4 2b 02 70 e9 68 07 2c f2 de 00 k ( + p h , 0019f9f8: 28 fa 19 00 a9 6d 6b 00 40 32 28 02 e2 9d 27 d7 ( mk @2( ' 0019fa08: 20 5f aa 75 4d 33 26 02 59 fa 19 00 40 32 28 02 _ uM3& Y @2( INIT: 16 : 1a : 0 VSYNC: 1 LL/LLD: 6/11 FM: 95660 TM: 3e4734 LID: a3eb PMU: 25fbc CMU: 24c98 ============================================================================= Loaded GRFs: [0] data.grf [1] data1.grf [2] Palette.grf [3] gepard.grf [4] patch.grf ============================================================================= Network packet's statistic: s_bytes: 0 bytes r_bytes: 0 bytes s_packets ->: 0 r_packets <-: 0 ============================================================================= ============================================================================= ============================================================================= 0x00400000 0x01d63000 C:\Users\Propriétaire\Desktop\SoSRO\Seeds of Salvation.exe 0x77430000 0x0019a000 C:\WINDOWS\SYSTEM32\ntdll.dll 0x75a90000 0x000e0000 C:\WINDOWS\System32\KERNEL32.DLL 0x74bd0000 0x00010000 C:\Program Files\AVAST Software\Avast\x86\aswhook.dll 0x75730000 0x001ff000 C:\WINDOWS\System32\KERNELBASE.dll 0x736a0000 0x0009f000 C:\WINDOWS\SYSTEM32\apphelp.dll 0x74f00000 0x00079000 C:\WINDOWS\System32\ADVAPI32.dll 0x74e40000 0x000bf000 C:\WINDOWS\System32\msvcrt.dll 0x76ad0000 0x00076000 C:\WINDOWS\System32\sechost.dll 0x75d10000 0x000bb000 C:\WINDOWS\System32\RPCRT4.dll 0x74bf0000 0x00025000 C:\WINDOWS\System32\SspiCli.dll 0x74be0000 0x0000a000 C:\WINDOWS\System32\CRYPTBASE.dll 0x75010000 0x00060000 C:\WINDOWS\System32\bcryptPrimitives.dll 0x756f0000 0x00021000 C:\WINDOWS\System32\GDI32.dll 0x74c30000 0x00017000 C:\WINDOWS\System32\win32u.dll 0x75930000 0x0015c000 C:\WINDOWS\System32\gdi32full.dll 0x75c70000 0x0007c000 C:\WINDOWS\System32\msvcp_win.dll 0x754c0000 0x00120000 C:\WINDOWS\System32\ucrtbase.dll 0x770d0000 0x00198000 C:\WINDOWS\System32\USER32.dll 0x75b70000 0x00025000 C:\WINDOWS\System32\IMM32.DLL 0x63900000 0x000e9000 C:\WINDOWS\SYSTEM32\DDRAW.dll 0x772d0000 0x00092000 C:\WINDOWS\System32\oleaut32.dll 0x767c0000 0x00276000 C:\WINDOWS\System32\combase.dll 0x76b50000 0x0057b000 C:\WINDOWS\System32\SHELL32.dll 0x74af0000 0x00032000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL 0x75c20000 0x0003b000 C:\WINDOWS\System32\cfgmgr32.dll 0x755e0000 0x00084000 C:\WINDOWS\System32\shcore.dll 0x66ea0000 0x00085000 C:\Users\Propriétaire\Desktop\SoSRO\MSVCP110.dll 0x75f30000 0x005c1000 C:\WINDOWS\System32\windows.storage.dll 0x75cf0000 0x0001b000 C:\WINDOWS\System32\profapi.dll 0x75dd0000 0x00043000 C:\WINDOWS\System32\powrprof.dll 0x74c20000 0x0000d000 C:\WINDOWS\System32\UMPDC.dll 0x77270000 0x00044000 C:\WINDOWS\System32\shlwapi.dll 0x75c60000 0x0000f000 C:\WINDOWS\System32\kernel.appcore.dll 0x75ba0000 0x00013000 C:\WINDOWS\System32\cryptsp.dll 0x74f80000 0x0005e000 C:\WINDOWS\System32\WS2_32.dll 0x76500000 0x000f7000 C:\WINDOWS\System32\ole32.dll 0x63420000 0x000d6000 C:\Users\Propriétaire\Desktop\SoSRO\MSVCR110.dll 0x6dfe0000 0x000c1000 C:\WINDOWS\SYSTEM32\dxgi.dll 0x69980000 0x00007000 C:\WINDOWS\SYSTEM32\DCIMAN32.dll 0x742b0000 0x00013000 C:\WINDOWS\SYSTEM32\NETAPI32.dll 0x6d830000 0x00024000 C:\WINDOWS\SYSTEM32\winmm.dll 0x69000000 0x00035000 C:\Users\Propriétaire\Desktop\SoSRO\binkw32.dll 0x10000000 0x00015000 C:\Users\Propriétaire\Desktop\SoSRO\cps.dll 0x60000000 0x0005d000 C:\Users\Propriétaire\Desktop\SoSRO\ijl15.dll 0x21100000 0x0005e000 C:\Users\Propriétaire\Desktop\SoSRO\mss32.dll 0x6d800000 0x00023000 C:\WINDOWS\SYSTEM32\winmmbase.dll 0x73680000 0x00019000 C:\WINDOWS\SYSTEM32\dxcore.dll 0x62920000 0x00afc000 C:\Users\Propriétaire\Desktop\SoSRO\gepard.dll 0x75720000 0x00006000 C:\WINDOWS\System32\PSAPI.DLL 0x74440000 0x0008d000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.18362.1256_none_bb620395ec90b7a9\COMCTL32.dll 0x74bc0000 0x0000f000 C:\WINDOWS\SYSTEM32\WTSAPI32.dll 0x74530000 0x0018f000 C:\WINDOWS\SYSTEM32\dbghelp.dll 0x700c0000 0x0045b000 C:\WINDOWS\SYSTEM32\WININET.dll 0x6a990000 0x00008000 C:\WINDOWS\SYSTEM32\FLTLIB.DLL 0x742e0000 0x00008000 C:\WINDOWS\SYSTEM32\VERSION.dll 0x02630000 0x0005d000 C:\Users\Propriétaire\Desktop\SoSRO\granny2.dll 0x001e0000 0x00007000 C:\Users\Propriétaire\Desktop\SoSRO\DINPUT.dll 0x743c0000 0x0007a000 C:\WINDOWS\system32\uxtheme.dll 0x75e20000 0x00103000 C:\WINDOWS\System32\MSCTF.dll 0x6a240000 0x00084000 C:\WINDOWS\SYSTEM32\TextInputFramework.dll 0x69f10000 0x0025e000 C:\WINDOWS\SYSTEM32\CoreUIComponents.dll 0x69e80000 0x00089000 C:\WINDOWS\SYSTEM32\CoreMessaging.dll 0x73c40000 0x00029000 C:\WINDOWS\SYSTEM32\ntmarta.dll 0x69da0000 0x000da000 C:\WINDOWS\SYSTEM32\wintypes.dll 0x6ea10000 0x0022a000 C:\WINDOWS\SYSTEM32\iertutil.dll 0x772c0000 0x00007000 C:\WINDOWS\System32\NSI.dll 0x6d590000 0x00015000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL 0x73fe0000 0x00052000 C:\WINDOWS\system32\mswsock.dll 0x744e0000 0x00044000 C:\WINDOWS\SYSTEM32\WINSTA.dll
  4. kilow

    Voiche chat

    Of course, i have setted channels for team events and i know guilds use their own server discord. But I think this can be usefull for players, just stay in game and join the team channels when event starts. Also, and especially because i hosted server on a compagny which use sustainable energy to run their server. I would like as much as possible don't impact environment by running this server. [Edit] Hello, i believe i found a serious lead for this but i need to know where is calculated the player position on a map. Is it in pc.cpp , here : enum e_setpos pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y, clr_type clrtype) ? Thank you
  5. kilow

    Voiche chat

    Hello, I have seen only one topic for this request ( whithout answer ) so i put it here. Maybe someone know or has the capacity to adding a voice chat to a server? i 'm ready to paid for it. With multi channels* Thank you
  6. Hello, char_athena.conf // Maximum users able to connect to the server. // Set to 0 to disable users to log-in. (-1 means unlimited) max_connect_user: 2500 But it still shows : Server supports up to '1024' concurrent connections. What should i do? Thank you
  7. Thank you M a p l e. Now it works better but not totally, becauseon web site it display always 1 Points* for players. The thing wich had ben solved is in the databse sql, the number of points is updated. I will try to solve this. Edit : Infact, actually the value in column named Points ( on Flux cp ) is not the current points of the player but the point that he / she will receive by voting.
  8. Hello, i have installed the vote for points from feefty. It worked for the first vote but when i tried to vote a second time, the point will not be added. Is it possible to change it or should i install an other vote for points? Thank you
  9. Ok thank you. I see that create container is more expensive than put all software that i need for the server. I made i basic installation on the Debian container.
  10. Ok i understand, that's a good news, i tried to add the a docker from an other topic but after it were been installed, a command doesn't match. So I want to test yours but the docker link don't display your file for creating environment. ( For installing your Docker file ). Your link is to create a Docker, i understand now. I believed it was as a docker from an other topic. So i need linux to use all command to create this Docker. Does your guide include fluxcp? You say Docker is not need in anyway to run rAthena but it's easyer for reproduce environment. And that is where i 'm lost on hosting. @DorekoNeko I have something like this in my environment. The rAthena's server is in the load balancer. When i start the server it's say no login ( related to the database ). The databse is in SQL Database but it seems that the container is not related to the load balancer. Moreover, when i tried to understand how to set environment with the docker file of forum's member, the apache2 and mysql was in only one containers. It means that i need to install mysql and apache with commands? Or is it possible to run server with this configuration?
  11. ok, thank you. Acces is based on request (your link), so i will wait the access, if i understood. I didn't understood, that new for me. So this docker image is used to run rathena server on the hoster? I can't load your docker but i tried with one of an other topic but i'm still lost. I don't see any guide for hosting a server on dedicaced server from zero. I know some hoster are specialized on ragnarok online host but i would like to host my server on hoster which run with sustanaible energy. That's why this step is difficult for me.
  12. @DorekoNeko Thank you for the answer. When i 'm reading your post, i understand that finally i don't really need to have linux on my computer to make the server run on hoster with linux? Once is setted up, if i install mysql, apache etc on the hoster, the server should be run, even if i maded it on windows? thank you
  13. Hi people, recently i would like to host my server and i saw that for choosing windows server i must have a windows server license wich is expensive. So i'm installing Debian and i would like to keep all my work based on windows OS. Is it possible to recompile directly ? Should i restart all ( because some source /setting has changed and don't remember all ) Thank you
  14. Finally, i made a npc that the first player who has a party and click on the npc, his team is registered and other can join by clicking. Not usual but it works. Thank you for your answer
  15. Hello, Can someone tell me why this script don't return char id? i also tried this : Thank you
  16. Hello, Is there a script command as getinventorylist {<char_id>} but for cart? I don't want to check a specific item but return a list of item in a cart with id. Thank you
  17. Hi, This question is related for supporting skill with flags partyonly as priest skill and paladin. Thank you
  18. Thank's @Emistry. Finally after checking i have a problem that even if card are setted not tradable, when they are compounded the item (equipment) is tradable so i didn't choose this way.
  19. Hi, I understand that @inventorylist_card1[] can scans if an item has a card on first slot. So i did this : set .@i,0; getinventorylist getcharid(0); while ( .@i < @inventorylist_count ) { for( .@i = 0; .@i < @inventorylist_count; .@i++ ){ if (@inventorylist_card1[.@i] == 46105){ dispbottom "foudnd"; } if (@inventorylist_card2[.@i] == 46105){ dispbottom "item found"; } } } Is it possible to equip (with *equip <item id>{,<char_id>}; ) the item where the card is compounded? or delitem it? Or we can only scans if there is the card compounded on an equipment? I don't know how to return the id of this equipment. Thank you EDIT : i didn't tried @inventorylist_id[], i believed that i did... Question answered.
  20. ok, ( i made an other topic that i will update if it's answered here). That's for leaving guild but a char need to be online to leave guild so it's ok ( item will be destroyed but it's not a problem for what i want) . Finally, i think the real problem is if the char is kicked from a guild the event can't work when the kicked player is offline, in case that i add an event OnKickGuild. Thx Skorm
  21. Hello, firstly thank you for having answered me in other topic. I have a question about some guild's package item. I would like to make a guid package but i don't understand how to modify properly sql file (i saw on other post that is needed for adding a guild package ). I think getboundeditem is not really important in my case because the items ' guild package are duplicated items with their own id (with trade restriction setted in _db). I need to use some event for scripting but i don't know if they already exist and if it's possible, i need to check if guild's member have an item of the guild package or if it's in gstorage. 3 Events needed : on leave guild ( answered ) need to add this, but it works only for online player* : https://github.com/rathena/rathena/blob/master/src/map/guild.cpp#L983 npc_event_doall_id("OnLeaveGuild", account_id); on break guild (please, correct me if the event is at a wrong place) https://github.com/rathena/rathena/blob/e8385d812ba327f1019d1f59987233684a6e378d/src/map/guild.cpp#L1893 https://github.com/rathena/rathena/blob/e8385d812ba327f1019d1f59987233684a6e378d/src/map/guild.cpp#L1967 npc_event_doall_id("OnGuildBreak", g->member[pos].sd->bl.id); on kick player from guild (please, correct me if the event is at a wrong place) : https://github.com/rathena/rathena/blob/e8385d812ba327f1019d1f59987233684a6e378d/src/map/guild.cpp#L930 npc_event_doall_id("OnKickGuild", account_id); For the other events, it seems to be good because player need to online to leave a guild or kicking all members before breaking a guild. Thank you community's helper.
  22. Hello, I tried getitembound on npc and command, it works but there is no restriction ( trading etc...) I Know that it's an old topic but i have some question about sql. Is it a specific sql file in server folder or should i open with mysql Work bench and after, edit this file? I don't see guild package script ( trunk/sql-files) After that, this script should be added in the same file?? : Same question for the OnLeaveGuild, if it exist. Thank you
  23. thank you sader1992.
  24. Hello, I'm trying to use callfunc but if the function is written on an other npc it doesn't work. I read this on wiki *callfunc "<function>"{,<argument>,...<argument>}; *callfunc("<function>"{,<argument>,...<argument>}) This command lets you call up a function NPC. A function NPC can be called from any script on any map server. Using the 'return' command it will come back to the place that called it. Alternately, as of rAthena revision 15979 and 15981, user-defined functions may be called directly without the use of the 'callfunc' script command. Calling a function written inside a npc works but when i'm trying to call a function from an other npc it says : buildin_callfunc Function Not found. Example that works : gonryun,147,127,6 script testfunction 808,{ function helpme; function helpme{ mapannounce "gonryun", "Rathena, please help me.", bc_map; end; } helpme; mes "you send message to Rathena"; end; } I am trying to do this on the NPCnumber2 : gonryun,147,127,6 script testfunction 808,{ function helpme; function helpme{ mapannounce "gonryun", "Rathena, please help me.", bc_map; end; } helpme; mes "you send message to Rathena"; end; } gonryun,141,127,6 script NPCnumber2 809,{ callfunc "helpme"; end; } thank you
×
×
  • Create New...