-
Posts
150 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by PsyOps
-
-
Hi, can anyone tell me how the passive Item Passive Script works? Any information where i can read it on the doc since i am confused about it. Thanks! @Epoque
-
15 hours ago, Radian said:
It's just a debug message not an error.
Sorry new to scripting, how do i debug it? No clue how to debug.
-
-
On 8/4/2019 at 9:04 AM, SkyDragon said:
Does it work for old rA versions? (2016, 2017).
It should work with 2017 version. there are older versions of this diff as well.
-
You can try to check existing instances and modify it. Normally sky is the limit but you have to search for the answers. Since i am not good with scripting, i tend to modify existing ones.
-
Yes you can try to check script_commands.txt for the command enablenpc/disablenpc
-
You need to assign like an array of cards that i needs to identify before it can be detected by the npc. What i normally do is use existing script structure then try to modify it on how you want it to be designed.
-
Working as of rAthena June 2019 version.
What worked for me.
1. Installed the patch diff.
2. Installed the Script function.
3. Replaced the UNITTYPE variables of the scrip to BL.
4. Installed the item db with the exception of changing the wood match to item 12740.
Previously was not working for me on using the matchsticks for some reason. If you encounter any problems, try to use a different USABLE item.
Thumbs up to @Emistry. Never Fails to Deliver.Just a wild question.
Is there a way to do the following?
1. Increase the radius of the campfire.
2. Detect if there are any other Campfires near. -
On 6/11/2019 at 11:33 AM, Bringer said:
sprintf(message + strlen(message), "Total profit: %s x %d", "Zeny", (mailprofit -= mailprofit * (battle_config.vending_tax / 10000.)));
rathena\src\map\vending.cpp(395): warning C4244: '-=': conversion from 'double' to 'int', possible loss of data
The extended vending does work for me but i still get this error on my VS. Anyone know how to fix this?
Tried:
sprintf(message + strlen(message), "Total profit: %s x %d", "Zeny" ,(mailprofit -= mailprofit * (int)(battle_config.vending_tax / 10000.)));
-
As far as i know, it will need source edit, scripts will not work since monsters follow the source scripts on attack behavior.
- 1
-
On 9/26/2014 at 3:36 AM, Oceanid said:
It's been a while but if I did this right it should work.
if(countitem(7227) >= 100) { delitem 7227, 100; costume .@Part; // Convert the Headgear mes "[Clown]"; mes "Done, enjoy your costume headgear."; close; mes “[Clown]”; mes “I’m sorry but you only have “+countitem(7227)+”TCG Cards.”; mes “You need at least 100 TCG cards to convert your headgear."; close; }
This is the new script.
// ------------------------------------------------------------------------------- // Script Name : Headgear to Costume converter >> Costume to Headgear converter // ------------------------------------------------------------------------------- // Description : // - Allows a user to convert the equipped headgear (on Top, Mid or Low) into a // costume item. It will remove any card and refine of the Item. // - Allows a user to restore the equipped costume headgear (on Top, Mid or Low) into its original form. It will not return any card or refine of the item. // ------------------------------------------------------------------------------- - script Costume Clown -1,{ mes "[Clown]"; mes "Here you can convert your headgears into a Costume Headgear or restore to its Original form."; switch(select("I want to convert.:I want to restore.:No thanks.")) { case 1: next; mes "Please, select what to convert."; mes "Remember, cards and refine will be removed."; next; setarray .@Position$[1],"Top","Mid","Low"; setarray .@Position[1], 1, 9, 10; set .@Menu$,""; for( set .@i, 1; .@i < 5; set .@i, .@i + 1 ) { if( getequipisequiped(.@Position[.@i]) ) set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]"; set .@Menu$, .@Menu$ + ":"; } set .@Part, .@Position[ select(.@Menu$) ]; if( !getequipisequiped(.@Part) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to Costume your " + getitemname(getequipid(.@Part)) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } if(countitem(7227) >= 100) { delitem 7227, 100; costume .@Part; // Convert the Headgear mes "[Clown]"; mes "Done, enjoy your costume headgear."; close; mes “[Clown]”; mes “I’m sorry but you only have “+countitem(7227)+”TCG Cards.”; mes “You need at least 100 TCG cards to convert your headgear."; close; } case 2: next; mes "Please, select what to restore."; mes "Remember, I will only restore it back without refine and cards."; next; setarray .@Position$[1],"Top","Mid","Low"; setarray .@Position[1], 13, 12, 11; set .@Menu$,""; for( set .@i, 1; .@i < 5; set .@i, .@i + 1 ) { if( getequipisequiped(.@Position[.@i]) ) set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]"; set .@Menu$, .@Menu$ + ":"; } set .@Part, .@Position[ select(.@Menu$) ]; if( !getequipisequiped(.@Part) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to restore your " + getitemname(getequipid(.@Part)) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } a = getequipid(.@Part); delitem a,1; getitem a,1; mes "[Clown]"; mes "Done, enjoy your restored headgear."; close; case 3: mes "[Clown]"; mes "Very well. Return at once if you seek my services."; close; } } // -------------------------------------------------------------------------- // Use duplicates to put your npc on different cities // -------------------------------------------------------------------------- prontera,155,181,4 duplicate(Costume Clown) Costume Clown#1 715
I don't have a server to test it so let me know if it errors.
Tried this.
Not working
"costume" is not a script command -
same error
-
You need to check the coordinates of that map.
set $valk_walkx,rand(100,299); //random x on map
the x coordinate might not be the same as the other map. You need to define where it really goes. -
On 1/29/2019 at 1:08 AM, X-EcutiOnner said:
I used v1.7 and edit some func
So the 1.7 version still works but it needs to be edited?
-
I know this is an src edit. did you edit your src?
-
Yeah i think that should be revived LOL
-
need to add this "gefg_cas01" to castle_db.txt
-
Hi, you probably need to add the "emp" on the Database of your server as what i think should be done
-
-
On 5/7/2019 at 8:54 AM, caspa said:
solved thank you
Can you please post how it was solved? thanks!
-
Very nice work! mind if i ask how to change "Servidor Online" as it is the only thing i am not able to edit. Love your work man
Added:
I noticed this on your post$status = new ServerStatus( "LOCALHOST", "LOCALHOST", "USERNAME", "PASSWORD", "DATABASE" );
I am using a webhost that is separate from my main ragnarok host, how can i configure this to show that my server is online?
Thanks in advance! -
4 hours ago, Slammer said:
make sure to file
defines_pre.hpp on \ src \ custom existsYou were right, defines_pre.hpp did not exist.
custom folder did not exist at all ahahah.
there was a problem when i was pulling the files over to the machine. somehow the custom folder did not migrate.
-
Newbie here!
I have my offline server and i am currently uploading it to my online server.
Upon using "make server" this error shows up.
What i have done so far is to run a new rathena copy to the vps.
It recompiles just fine. I also tested it on two machines.
This error only shows up when i use my offline server version.
Any thoughts to how this can be solved?
-
Any solution to this? as i am getting the same error:
script: movenpc: NPC with ID '#vend_slot74' was not found!
Stolao's Auto Event [v2.5A]
in Game, Event, Quest Script Releases
Posted
https://github.com/Stolao/Npc_Release/blob/master/Custom_Functions/Dispell.txt