-
Posts
181 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Posts posted by Onairda
-
-
On 6/8/2016 at 1:52 AM, Akkarin said:
It wouldn't create unless I used quotes, which was weird enough. Maybe I wasn't typing it right. I'll give it another whirl now I've got my head out of rathena/FluxCP lol
Update:
Still using the same code as above:
switch(instance_create("Prison Break",IM_CHAR,getcharid(0))){ case -1: mes "^FF0000-1 Invalid Type^000000."; close; case -2: mes "^FF0000-2 Char/Party/Guild not exist^000000."; close; case -3: mes "^FF0000-3 Instance Already Exists?!^000000."; close; case -4: mes "^FF0000-4 No Free Instances. MAX_INSTANCE?!^000000."; close; default: break; }
Removing the " " 's gives me this error on the console:
[Error]: instance_create: character 150000 not found for instance 'Prison Break'.
And returns error value -2.
Very confused.
Hello Is IM_CHAR now stable?
I tried creating my instance using IM_CHAR but not creating instanceid -
ERROR RECVING LINK2001
SOVLED! Just get the format in Vending.cpp -
I have a custom skills in map/skill.cpp
Could someone give me a syntax to insert data in SQL
Table Name: CustomMonster
Fields: id, char_id, mob_id, mob_name
what sysntax I can use to insert the data?
Quotecase SG_CUSTOMMMONSTER:
{
if (!sd || !bl || bl->type != BL_MOB)
break;struct mob_data* md = (TBL_MOB*)bl;
// Check if monster is if custom
if (md->db->mexp != 999999) {
clif_displaymessage(sd->fd, "This monster custom!.");
//INSERT TO SQL PLEASE GIVE SYNTAX THAT will insert the char_id, mob_id, and mob_name to Table CustomMonsterbreak
} -
Is this added on Latest Git?
Thank you so much!
-
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.-
1
-
-
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!
-
22 hours ago, Rynbef said:
I had the same issue. I changed my Clientinfo (Langtype) (server and service type) and it worked. But I have to say u need to try which exactly cuz it's about one year ago.
Rynbef~
What is your langtype?
-
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
-
-
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?
-
On 12/7/2024 at 3:17 AM, Berlin said:
You can try to contact this link -- >
is there anything better than AndRO? and Vykimo?
-
Hello
Could you provide the best ragnarok mobile creator? the one with less errors. Android OS only.
Thank you!
-
On 6/19/2024 at 10:33 PM, hendra814 said:
i can open the client with new recomended option
- addtional client validation (recomended)
- always load Korea ExternalSetting lua files (recomended)but this error still appear, even already using default chris translation project for 20220330 client (using read data folder)
and this error when using read GRF
this is how i get client data and system folder for this issue
- run client generator
- press 1 for renewal
- choose 10 for 20220330 client
is it already correct?
Hello where do you get the ClientGenerator.bat? I am planning to download new 2022 clients + the data folder side
-
EDITED: Working now!, Forgot to removed the hashtag before the word 'Body' #Body
db/import/mob_avail.txtTake note: Mob name should always CAPITAL Character to work.
Body: # Examples - Mob: PORING Sprite: BAPHOMET
-
On 3/31/2024 at 1:41 PM, Pokye said:
db/import/mob_avail.yml
will it work even though it was inside the db/import?
-
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!
-
Hello
is this possible in game?
Open an Application in windows using NPC script in game?
Thank you -
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; }
-
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
-
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?
-
Solved!
Use 2020 or any Clients that support HTTP Emblem (Diffed in Nemo)
-
20 hours ago, Botaring said:
May I ask how did you make your webserver work?
What type of program do you use to diff HTTP Emblem? I use warp and it doesn't have that on 2021-11-03I change my exe to 2020 that supports HTTP emblem, then thats it.
I used NEMO by the way.
-
On 12/4/2020 at 11:10 PM, Ai4rei said:
Create a thread in a DLL, that displays a topmost window with a bitmap in it and close it when the main window is created (which can be detected in various ways, for example polling with FindWindow). That DLL must be added to client's imports (or recycle an existing one if you know how).
Edit:For example like this: https://github.com/ai4rei/splash
On 12/5/2020 at 2:58 AM, Froost said:use paint in black
dll custom https://rathena.org/board/topic/118729-client-mods-paint-it-black/
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
bump thank you
done it using Visual Studio. Thank you!
-
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?On 9/19/2023 at 2:52 PM, Botaring said:It's just this, sir:
web_port: 8888
Mine has been solved. its working fine now :).
You need to diff HTTP Emblem - before it works.
Instance NoNPC: treu
in Scripting Support
Posted
Hello Everyone,
I have created an instance with the setting
NoNPC: true
. This prevents copying NPCs from the source map.How can I enable my custom NPC inside the instance? Even though I have set
NoNPC
, the script I am using (see below) is not enabling the NPC inside the instance.// Instance Controller NPC (Triggers OnInstanceInit) moc_fild17,37,289,0 script InstanceSpawner#DD 1001,{ end; OnInstanceInit: // Broadcast to the instance map mapannounce instance_mapname("moc_fild17"), "[System]: The monsters have arrived!", bc_map; // Spawn mobs in the instance monster instance_mapname("moc_fild17"), 50, 50, "Phreeoni Minion", 1002, 10; monster instance_mapname("moc_fild17"), 53, 53, "Phreeoni", 1159, 1; // Enable the instance NPC enablenpc instance_npcname("PhreeoniHelper#DD"); end; } // Instance-Only NPC (initially hidden) moc_fild17,42,292,0 script PhreeoniHelper#DD 100,{ mes "Hello!"; mes "Welcome to the Phreeoni Instance."; close; OnInit: // Hide globally — needed due to NoNpc: true hideonnpc strnpcinfo(0); end; }
Thank you!!