-
Posts
179 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Posts posted by Venture
-
-
I need the .act name of Sura sprite (Female, Bolloxed), can anyone help me?
I also need to know the bolloxed path of its .act file in a data folder.
I am trying to edit it, but I cannot find it, (Since the sprite bible is outdated.)
Thanks a lot!
This is pretty important, please help ;_;
-
Here's the code, commented:May I ask what is "while (1)"?
It seems like something that will run infinitely without an exit sentinel (But somehow it works!)
// The 'while' statement will loop infinitely (since '1' is always true) // until a 'break' statement is reached, or the server detects an infinite // loop (related to check_gotocount). while (1) { // This tries to pick a random party name that is unlikely to exist // ("i50928", "i18735", etc.). .@name$ = "i" + rand(100000); // 'party_create' returns '1' if the party was successfully created. // If it succeeds, break out of the loop. // If it fails, try again with a different party name. if (party_create(.@name$) > 0) break; }
Thank you very much!, I understand the others, but the while loop confuses me, But now I understand that one can break through a while loop using the "break;" function
I appreciate the explanation ^^
-
Instances are attached to parties, so you can't create one without having a party.
However, you can easily work around this: ensure that the player does not have a party before creating/entering the instance, and let the NPC create the party. Like this: [paste=1941ov47vbzx]
Thanks Euphy!
May I ask what is "while (1)"?
It seems like something that will run infinitely without an exit sentinel (But somehow it works!)
-
I wonder if a single player instance is possible? (Without check party).
It would be lovely if it is, could give players a private dungeon.
If yes, how do I do it?
-
Put it on github so that people may help you
Guys you really need to go back to first page and read again the developer's opinions about that. His main goal is to learn and develop, if it goes open source then it will be released faster that's a given, but he won't learn all he wanted!
Give him a break..
Not when such progress is threatened to be lost.
All I pray for everyday has been for Shinryo to still continue developing this.
Its our only hope for a Custom RO client!
-
I prototyped a kRO to jRO mob_db converter.basing on information provided by jRO from doodler
Nevermind this thread, problem solved.
-
I prototyped a kRO to jRO mob_db converter.basing on information provided by jRO from doodler
Nevermind this thread, problem solved.
-
I have tried many ways to enable it, starting from uncommenting all related db files, I have yet to see the skill available.
How do I enable this?
Its skill ID 314 BD_RAGNAROK.
I remember that its an ensemble skill that existed long ago.
-
- script day_night_npc -1,{ OnClock0100: OnClock2000: OnInit: sleep 1; // if you want to use different script file, then slow down the script execution if ( gettime(3) >= 1 && gettime(3) < 20 ) { // day warp enablenpc "daywarp#1"; disablenpc "nightwarp#1"; } else { enablenpc "nightwarp#1"; disablenpc "daywarp#1"; } end; } prontera,152,192,0 warp daywarp#1 2,2,morocc,156,93 prontera,152,192,0 warp nightwarp#1 2,2,geffen,119,59
if it is different file, then you have to make sure that your custom script is being read laterread npc\re\scripts_main.conf, or npc\scripts_custom.confmake sure the warp npc is being read 1st before the day_night_npcor ... just easily put a sleep command before enablenpc/disablenpcthank you, that solves everything!
-
So how do I refer to a warp NPC?for example..
yuno_fild04,251,21,0 warp ein001 1,1,ein_fild06,252,363
ein_fild06,252,365,0 warp ein001a 1,1,yuno_fild04,251,23do I just create them, then "disablenpc ein001" after creating them?What if they are created on different script file? is that still okay?
-
I am making a dungeon that has 2 entrance, one entrance only appear at morning, and the other at night. (The entrance is using regular field warps)
(So I am guessing it will be using the OnClock function.)
(Day starts after 01:00)
(Night starts at 20:00)
OnInit: if (Time is > 20:00 or Time < 01:00) { // Enable night field warp. } else { // Enable day field warp. } end; OnClock2000: //On 8 PM // Enable night field warps. // Disable day field warp. end; OnClock0100: //on 1 AM // Disable night field warp // Enable day field warp
I get the main Idea, but how do I put these into script?
Thanks Brian for editing! (I am not sure why my Mozilla browser failed to post the original post with the tags.)
-
Using the global height edit mode and pasting all to a bigger sized map.
I guess you should keep a backup, and beware that gat can't be copied this way. Also, you should try the smooth lightmaps before, since its more easy to test.
Thanks its now fixed
Idk why bigger map fixed it, but the maker should do something about it :/
-
Take a look at this topic:
http://rathena.org/board/topic/75507-map-problem-marks-at-corners-of-textures/
That kinda happens with maps that have a high amount of white textures. I found a way to fix it, and the author of that thread also mentioned another way to get rid of that issue.
So how do I copy a map to a bigger map?
I must redo the whole thing?
-
I have been creating maps, it worked fine in browEdit, but it has been showing black dots in-game.
I thought that it was my lightmap errors, I exported the Lightmap and expected black dots to be fixed,
But then when it was exported, the lightmap is silky smooth :/
Anyone can fix this..? (It is hard to see, kindly zoom a little to see.)
Water is at -20 (No water on map).
-
no
instead of using tortoiseSVN last year, now I'm using tortoiseGIT
its made by same company, so the interface isn't far off
you'll get used to it once you get your hands on tortoiseGIT
actually, just add this line
#define SCRIPT_CMD_SUCCESS 0
should make my patch work on your server alreadyThat worked well!, Thanks!
-
So Can I still use SVN to checkout from the GIT Link?
http://rathena.org/board/topic/87120-transitioning-from-svn-to-git/?p=227682
You could actually still stick with SVN, you can just use the GIT repo as the checkout.
According to Akinari, I could
-
you are not using latest rathena =/
https://github.com/rathena/rathena/blob/master/src/map/script.c#L177
add those lines you think your server is missing
I haven't updated since rathena moved to GIT (I have tried many times, I crai everytyme ;_;, the interface is too confusing! I really prefer SVN.)
If I copied the entire script.c from the newest, will it conflict with other files? (Since I don't really want to update the server yet...)
(Because I can proudly say that I can't)
(If only GIT developer were as considerate to make it more user-friendly as SVN.. that would be great!)
EDIT :
Uh oh.. I replaced my entire script.c
encountered even more errors!
I think my server is done for!
1>c:\rathena\src\map\script.c(6462): error C2065: 'IT_SHADOWGEAR' : undeclared identifier 1>c:\rathena\src\map\script.c(6477): error C2065: 'IT_SHADOWGEAR' : undeclared identifier 1>c:\rathena\src\map\script.c(6644): warning C4020: 'itemdb_searchrandomid' : too many actual parameters 1>c:\rathena\src\map\script.c(7358): error C2065: 'EQP_SHADOW_ARMOR' : undeclared identifier 1>c:\rathena\src\map\script.c(7358): error C2099: initializer is not a constant 1>c:\rathena\src\map\script.c(7358): error C2065: 'EQP_SHADOW_WEAPON' : undeclared identifier 1>c:\rathena\src\map\script.c(7358): error C2099: initializer is not a constant 1>c:\rathena\src\map\script.c(7358): error C2065: 'EQP_SHADOW_SHIELD' : undeclared identifier 1>c:\rathena\src\map\script.c(7358): error C2099: initializer is not a constant 1>c:\rathena\src\map\script.c(7358): error C2065: 'EQP_SHADOW_SHOES' : undeclared identifier 1>c:\rathena\src\map\script.c(7358): error C2099: initializer is not a constant 1>c:\rathena\src\map\script.c(7358): error C2065: 'EQP_SHADOW_ACC_R' : undeclared identifier 1>c:\rathena\src\map\script.c(7358): error C2099: initializer is not a constant 1>c:\rathena\src\map\script.c(7358): error C2065: 'EQP_SHADOW_ACC_L' : undeclared identifier 1>c:\rathena\src\map\script.c(7358): error C2099: initializer is not a constant 1>c:\rathena\src\map\script.c(11311): error C2039: 'mob_id' : is not a member of 'mob_data' 1> c:\rathena\src\map\mob.h(114) : see declaration of 'mob_data' 1>c:\rathena\src\map\script.c(15015): error C2065: 'ITEMSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15015): error C2065: 'POINTSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15022): error C2065: 'ITEMSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15022): error C2065: 'POINTSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15049): error C2065: 'ITEMSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15049): error C2065: 'POINTSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15078): error C2065: 'ITEMSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15078): error C2065: 'POINTSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15109): error C2065: 'ITEMSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(15109): error C2065: 'POINTSHOP' : undeclared identifier 1>c:\rathena\src\map\script.c(16954): error C2039: 'mob_id' : is not a member of 'mob_data' 1> c:\rathena\src\map\mob.h(114) : see declaration of 'mob_data' 1>c:\rathena\src\map\script.c(17538): warning C4020: 'itemdb_searchrandomid' : too many actual parameters 1>c:\rathena\src\map\script.c(17547): warning C4013: 'itemdb_get_randgroupitem_count' undefined; assuming extern returning int 1>c:\rathena\src\map\script.c(17583): warning C4013: 'itemdb_pc_get_itemgroup' undefined; assuming extern returning int 1>c:\rathena\src\map\script.c(18063): error C2065: 'VIP_SCRIPT' : undeclared identifier 1>c:\rathena\src\map\script.c(18064): error C2065: 'MIN_STORAGE' : undeclared identifier 1>c:\rathena\src\map\script.c(18206): error C2039: 'mon_trans_disable_in_gvg' : is not a member of 'Battle_Config' 1> c:\rathena\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>c:\rathena\src\map\script.c(18218): error C2065: 'SC_MONSTER_TRANSFORM' : undeclared identifier 1>c:\rathena\src\map\script.c(18219): error C2065: 'SC_MONSTER_TRANSFORM' : undeclared identifier 1>c:\rathena\src\map\script.c(18263): error C2065: 'MAX_PC_BONUS_SCRIPT' : undeclared identifier 1>c:\rathena\src\map\script.c(18263): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18263): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18263): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18263): error C2198: 'strcmp' : too few arguments for call 1>c:\rathena\src\map\script.c(18264): error C2065: 'MAX_PC_BONUS_SCRIPT' : undeclared identifier 1>c:\rathena\src\map\script.c(18275): error C2065: 'MAX_PC_BONUS_SCRIPT' : undeclared identifier 1>c:\rathena\src\map\script.c(18275): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18276): error C2065: 'MAX_PC_BONUS_SCRIPT' : undeclared identifier 1>c:\rathena\src\map\script.c(18277): error C2065: 'MAX_PC_BONUS_SCRIPT' : undeclared identifier 1>c:\rathena\src\map\script.c(18282): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18282): warning C4090: 'function' : different 'const' qualifiers 1>c:\rathena\src\map\script.c(18282): warning C4022: 'memcpy' : pointer mismatch for actual parameter 2 1>c:\rathena\src\map\script.c(18282): error C2198: 'memcpy' : too few arguments for call 1>c:\rathena\src\map\script.c(18283): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18284): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18285): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18286): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18287): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18289): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18290): error C2039: 'bonus_script' : is not a member of 'map_session_data' 1> c:\rathena\src\map\pc.h(131) : see declaration of 'map_session_data' 1>c:\rathena\src\map\script.c(18290): error C2198: 'clif_status_change' : too few arguments for call
*Enters Panic State*
*Run around havoc in my room*
*Rolls around*
*Crai everytyme*
-
On 1/8/2014 at 11:52 PM, clydelion said:
You can force the character to face any direction you want using pc_setdir(sd,b,h) function right after the character spawns.
Is that in script? or in the char.c itself?.
somehow I cannot find any documentation of the function pc_setdir(sd,b,h).
Anyway you can tell me how to use it in my case?
Thank you for replying!
On 1/9/2014 at 2:07 AM, AnnieRuru said:FUN !
why not make a script command to change the player's facing
[paste=1ta6tj2tm187]
then can use
- script kdjhfksdjf -1,{OnPCLoginEvent: setdir DIR_SOUTH; end;}
this might be useful with pushpc script commandThats amazing
This should be official!
Thanks a bunch!
EDIT :
Somehow I am getting errors.
1>c:\rathena\src\custom\script.inc(40): error C2065: 'SCRIPT_CMD_SUCCESS' : undeclared identifier
1>c:\rathena\src\custom\script.inc(58): error C2065: 'SCRIPT_CMD_SUCCESS' : undeclared identifier
I crai
;_;
-
I support this Idea.
Clones should have the equipments, skills, and status of the player.
And I don't know why you couldn't clone someone when they aren't online o.o
It would be great if this is improved!
-
While this may seem trivial, but this is extremely important for my server.
When a player create a character, it started by facing "backwards", or "North".
I wanted the new character to be facing "South", I know it is somewhere in the "Char.c"
But how do I do this..?
I do not see any "Direction" option that is set when a new character is created.
Thank you!
-
why not post this to the international section where most developers are?Yes, the comment under MrSilver's review on RMS
Link below:
http://ratemyserver.net/index.php?page=serverstat&serid=16517&itv=6&url_sname=OriginalRO&page_num=1
It mentioned about "luk" factor towards item drops,
but the only thing I can find in relation is
the "luck" can modify drop rates, but not to the point that
it could be anyhow gamebreaking.
(depends on server settings though,)
in official, this is turned off.
probably those cheaters could send a fake value
and ensures a legitimate 100% drop rate through
faking their "luk" packet value?
this is not possible though, as they take the value from
the server's sql database.
probably by removing this feature this can be fixed?
I don't even think the issue is the "luk" that they mentioned.
it should be regarding something else.
-
What is this about?
Any relevant links to the said issue?
-
I am looking for jRO's spawns and mobDB, which is a lot more interesting than kRO's.
(They keep the pre-renewal style of mob distribution.)
(There is no fields for "Certain Level", weak looking mobs are weak, strong ones are strong.)
Anyone has it?
-
I never tried converting them, but It shouldn't be too hard with milkshape/3ds max (They can read .mdx files and export them)
You need wc3Viewer (Freeware) to extract models and texture from wc3.mpq file.
The harder part is their animations I think.
Instance specific event
in Scripting Support
Posted
I wanted the instance to be destroyed and teleports to prontera when the player "Logs out or Dies Inside the Instance", but not to run the event outside the instance.
How do I do this?
I tried
In the same folder as the instance NPC, but they keep giving me error on the console, "Trying to destroy invalid instance 0". outside the Instance (They work well inside!)