Jump to content

Onairda

Members
  • Posts

    176
  • Joined

  • Last visited

Everything posted by Onairda

  1. Done! go to src/map/clif.cpp For Roulette Icon void clif_roulette_open( struct map_session_data* sd ){ nullpo_retv( sd ); struct packet_roulette_open_ack p; p.PacketType = 0xa1a; p.Result = 0; // result p.Serial = 0; // serial p.Step = (sd->roulette.claimPrize) ? sd->roulette.stage - 1 : 0; p.Idx = (sd->roulette.claimPrize) ? sd->roulette.prizeIdx : -1; p.AdditionItemID = -1; //! TODO: Display bonus item p.GoldPoint = sd->roulette_point.gold; p.SilverPoint = sd->roulette_point.silver; p.BronzePoint = sd->roulette_point.bronze; sd->state.roulette_open = true; clif_send( &p, sizeof( p ), &sd->bl, SELF ); } Change to void clif_roulette_open( struct map_session_data* sd ){ nullpo_retv( sd ); npc_event_do_id("NPCNAME::OnLabel", sd->status.account_id); } NPC: - script NPCNAME -1,{ OnLabel: mes "add whatever you want."; end; } then under cliff, searched the Cash Shop button and do the same.
  2. I have now solve this without following and installing the video above. 1st: Diff client 'Enable HTTP Emblem' (FOR GIF if you don't like GIF emblem don't enable it), 'Always call SelectKoreaClientInfo()'. 2nd: luafiles514/lua files/service_korea/ ExternalSettings_kr.lub and ExternalSettings_kr_sak.lub : AssistAddr = "127.0.0.1:8080" the port is based on the web_conf mine is 8080. MakeableRace = { Doram = false } -- Change the "AssistAddr" to your IP AssistAddr = "127.0.0.1:8080" Url = { TwitterUrl = "http://ipaddress:8080" } AccountLinkedUserDataUrl = { Save = "http://ipaddress here:8080/userconfig/save", Load = "http://ipaddress here:8080/userconfig/load" } TwitterDataUrl = { Auth = "http://ipaddress here:8080/twitter/user-auth", Upload = "http://ipaddress here:8080/twitter/upload" } EmblemDataUrl = { Upload = "http://ipaddress here:8080/emblem/upload", Download = "http://ipaddress here:8080/emblem/download" } 3rd: Clientinfo: should be Korea in service Type/ <clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>Ragnarok</display> <balloon>Server</balloon> <address>15.235.225.202</address> <port>6900</port> <version>55</version> <langtype>1</langtype> <registrationweb></registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> </loading> <yellow> <admin>2000000</admin> <admin>2000002</admin> <admin>2000003</admin> </yellow> <aid> <admin>2000000</admin> </aid> </connection> </clientinfo> Restart your server!
  3. Hello Everyone, In my client version 2020-01-08a, no emblems are displaying. The 24-bit .bmp and GIF emblems are not applying or showing in-game. I checked the 'Enable HTTP Emblem on Ragexe' option during diffing, but it is still not working. Now my question, is the below tutorial is still required to make the emblem work? until now 2024? , t
  4. Hello Everyone How can I make it so that when the cash shop icon is clicked in-game, it calls the NPC script instead of opening the cash shop menu?
  5. is there anything better than AndRO? and Vykimo?
  6. Hello Could you provide the best ragnarok mobile creator? the one with less errors. Android OS only. Thank you!
  7. Hello where do you get the ClientGenerator.bat? I am planning to download new 2022 clients + the data folder side
  8. EDITED: Working now!, Forgot to removed the hashtag before the word 'Body' #Body db/import/mob_avail.txt Take note: Mob name should always CAPITAL Character to work. Body: # Examples - Mob: PORING Sprite: BAPHOMET
  9. will it work even though it was inside the db/import?
  10. Hello I am planning to create a Player Figure monster. However, Mob Avail is missing in DB folder and is there any lastest guide for latest rathena? Thank you!
  11. Hello is this possible in game? Open an Application in windows using NPC script in game? Thank you
  12. Hello, Can someone help me to edit this script to only count 1 hour and 20 minutes then refresh again to 1 hour and 20 minutes: because I have an event that starts every 1 hour and 20 minutes. prontera,150,150,5 script HourTimer 111,{ OnInit: while( .@a != 1 ){ delwaitingroom; waitingroom ""+gettimestr( "%H:%M:%S %p",15),0; sleep 1000; } end; }
  13. Hello Good day! I am planning to create a Global function that will be used by different NPCs at the same time, and this Global function requires the variable. please see the below. I have an Idea in C#, but not sure how this will work with Rathena //------------------------ Test.txt - SCript Prontera,150,150 - - - -{ mes "Input 1st Number:"; input .@FirstNumber; next; mes "Input 2nd Number:"; input .@SecondNumber; .@total = callfunc add_numbers(.@FirstNumber, .@secondNumber) } //------------------------ GlobalFunc.txt - Script GLOBAL function add_numbers(a, b) result = a + b query_sql(Insert result to addition_tbl) return result end
  14. Hello Is bonus bonus bVariableCastrate,-30; o can be placed on Potion? for example when a potion is used it will last up to 30 minutes then the effect will be gone. Please help/guide how to it?
  15. Onairda

    GIF Emblem

    Solved! Use 2020 or any Clients that support HTTP Emblem (Diffed in Nemo)
  16. I change my exe to 2020 that supports HTTP emblem, then thats it. I used NEMO by the way.
  17. Hello sorry for the long response :D. I tried creating a custom DLL. However, I don't know how to load it using use custom DLL in NEMO, maybe you can help me? I tried loading in the DLL I've created but not working Here is the error: bump thank you done it using Visual Studio. Thank you!
  18. My Webserv.bat is working and no error. However, it don't know where to place the emblem folder and the emblem's. Im using 2019 client will it work?
  19. Onairda

    GIF Emblem

    Hello I've noticed that the latest rathena git have web-server.bat, I am just think how to enable this so I can use GIF emblem? and also is this fit to work with 2019-06.05f clients? Thank you so much
  20. hahaha, thanks for replying . but this is not what i asked . Thank you so much Winterfox, this what I need
  21. Do we have a table in the database where we can track all the bought and sold items in the NPC? I am talking for the whole NPC inside the Ragnarok. I don't need a custom script to manually insert it in the database I want the default NPC script used inside the game. like the tool dealer, if someone buys and sells items to the tool dealer it will be recorded. thank you
  22. Hello as the tittle say How can I find the HP and SP bar names in GRF? I think I deleted it accidentally that's why the HP and SP bars vanished.
  23. Hello Everyone, I was hoping if you could help me, to have the below script work. What I want is create a random generator code "Transaction Code" temporarily, which means only transacting players can see the generated Transaction Code and even 100 players using the script it wont give the same Transaction Code. prontera,155,155,3 script TESTSTE 92,{ setarray .coupon_code$[0],"A","B","C","D","E","F","G","H","I","J","K","L", "M","N","O","P","Q","R","S","T","U","V","W","X", "Y","Z","0","1","2","3","4","5","6","7","8","9"; set .@new_transaction$, ""; set .@code_exists$, 0; mes "test"; while (@code_exists == 0) { for (set @i, 0; @i < 6; set @i, @i+1) { set .@random_char$, rand(0, (getarraysize(.coupon_code$) - 1)); set .@new_transaction$, .@new_transaction$ + .coupon_code$[.@random_char$]; } query_sql("SELECT COUNT(*) FROM transaction_tbl WHERE transaction_code='" + .@new_transaction$ + "'", .@code_count); if (.@code_count == 0) { set .@code_exists$, 1; query_sql("INSERT INTO transaction_tbl (transaction_code) VALUES ('" + .@new_transaction$ + "')"); mes "Transaction Code: " + .@new_transaction$ + " inserted into the database."; } else { set .@new_transaction$, ""; } } set .@new_transaction$, ""; close; } Thank you
×
×
  • Create New...