-
Content Count
518 -
Joined
-
Days Won
68
Posts posted by Angelix
-
-
@KONG is indeed correct. "map_copy_run_X" is a function like "cha_timer", it "ticks" every second only if a player is inside or has been inside the map. The tick won't start unless someone steps inside the map for it to begin.
-
Change this:
MisResultCondition( HasFlag, 1401, 10) MisResultCondition( HasFlag, 1401, 20) MisResultCondition( HasFlag, 1401, 30) MisResultCondition( HasFlag, 1401, 40) MisResultCondition( HasFlag, 1401, 50)
To this:
MisResultCondition( HasFlag, 1401, 14) MisResultCondition( HasFlag, 1401, 24) MisResultCondition( HasFlag, 1401, 34) MisResultCondition( HasFlag, 1401, 44) MisResultCondition( HasFlag, 1401, 50)
Give me a heads up if it doesn't work.
- 2
-
30 minutes ago, Shako said:Yeah, I thought about, was a bit problematic since I'm using v2.X and everything is on the en_US.txt file, so I just copied scripts from v1.X and from there look which belong from story missions or not. Thanks for the help!
-
I got a doubt, are the mission script placed in MissionScript02.lua the only quest story-related? Or are they more in other files? As I would like to delete every quest except story related ones.
-
Add this to forge.lua:
SpoilerThen open NpcSdk.lua, look for:
Spoilerelseif item.func == GoTo then
return GoTo( character, item.p1, item.p2, item.p3 )Right under it, add this:
Spoiler-----------------------------------------------
-- // Custom Function: PlayerRebirth // --
elseif item.func == PlayerRebirth then
return PlayerRebirth(character, item.p1, item.p2)Now, it should look like this:
Spoilerelseif item.func == GoTo then
return GoTo( character, item.p1, item.p2, item.p3 )
-----------------------------------------------
-- // Custom Function: PlayerRebirth // --
elseif item.func == PlayerRebirth then
return PlayerRebirth(character, item.p1, item.p2)Now, just add this to any NPC you want.
SpoilerTalk(4, "Goddess: Rebirth is a special process where you can reincarnate once more, this will reset your class, stat and skills so you can make more choices.")
Text(4, "Phoenix Rebirth", JumpPage, 5)
Text(4, "Athene Rebirth", JumpPage, 6)
Talk(5, "Goddess: This Rebirth is called Phoenix Rebirth, also called the First Rebirth.")
Text(5, "Rebirth: Champion", PlayerRebirth, 1, 8)
Text(5, "Rebirth: Crusader", PlayerRebirth, 1, 9)
Text(5, "Rebirth: Sharpshooter", PlayerRebirth, 1, 12)
Text(5, "Rebirth: Cleric", PlayerRebirth, 1, 13)
Text(5, "Rebirth: Seal Master", PlayerRebirth, 1, 14)
Text(5, "Rebirth: Voyager", PlayerRebirth, 1, 16)
Talk(6, "Goddess: This Rebirth is called Phoenix Rebirth, also called the First Rebirth.")
Text(6, "Rebirth: Champion", PlayerRebirth, 2, 8)
Text(6, "Rebirth: Crusader", PlayerRebirth, 2, 9)
Text(6, "Rebirth: Sharpshooter", PlayerRebirth, 2, 12)
Text(6, "Rebirth: Cleric", PlayerRebirth, 2, 13)
Text(6, "Rebirth: Seal Master", PlayerRebirth, 2, 14)
Text(6, "Rebirth: Voyager", PlayerRebirth, 2, 16)Of course, just modify the corresponding pages according to your needs.
This can essentially replace all those "ChaName_Born" (think they are called like that) functions. With that, you should have no problems with the skills, stats or something else. Although, the script does need the player to have the corresponding items such as the stones, and for Second Rebirth, you need between 9,500 and 9,999 SEXP to be able to proceed and the wings from Frist Rebirth. If something is missing, please let me know.
Edit: Had to publish through PasteBin since I think the script was too long for the post and I can't upload attachments, otherwise I would have loaded the LUA file directly here.
- 1
-
1 hour ago, Bunker said:Still does not work. may all script are well placed and the problem could be with Rebirth Mystic Power skill? x.x
I have a custom script which does all the basic needs for first and second level of rebirth, but you'll need to modify 3 different files, do you want it?
-
Is it possible to update the "Chaos Argent" ranking NPC without having a player to actually be there? Maybe a function at the "after_player_kill_player" code, so when a player kills another, it triggers an update within the NPC.
-
Just copy an existing neck/ring line from ItemInfo, edit the name and stats, make sure to have the same line on ItemInfo/txt from server and client, then compile.
- 1
-
3 hours ago, Syfax said:Hello, I know that already, but it's a Guild Vs Guild which map scripts are having no relation to CA.
No, they don't have any relation whatsoever, but you can copy the scripts and use them to give out rewards. @Sultan already explained a bit on what I mean.
-
You can do it like CA, when kicking out players, give them rewards. Check how "garner2" does it.
- 1
-
1 minute ago, Totoka said:any VS 2005 c++ will be file for some projects (.vcproj), not for all of them, coz there are also projects which requires the vc90 toolset from VC2008 (@V3ct0r had mentioned it before.), there are also .vcxproj to compile with VS2010+ build systems ( and some of them has no .vcproj backups D= )
about the download, don't be so lazy.
eventually you can use google's stuff for such purposes, they have a great search engine.
look.
Sorry about that, not lazy, just that I haven't been able to compile them. I tried even Visual Basic 6, up to VS 2015, hahah. I always get an error or two, since I lack knowledge to use the compilers and how to fix errors, that's why I was looking for a guide. My bad if it looked wrong just asking and asking. I already installed VS C++ 2005 Express, will try to do as you said, I'd upload proof I have it installed, yet attachments don't work, don't know why.
-
5 minutes ago, Totoka said:you can compile it with vs 2005 located at [project]/Proj/Backup
replace it for the current one at [project/Proj]
take in count that you must compile the 'common' libraries first, Common/[*]/Proj
@V3ct0r do you know if there are clean/untouched source files ?
Thanks for the reply.
Do you know where I can download VS2005? Can it be done with the VS 2005 Express? A guide would be really helpful. -
So it's like the four characters there at once, since you chose male, they just removed the character, but left the shadows? Hahah
-
6 hours ago, V3ct0r said:Hello @Angelix!
You can compile source code in Visual Studio/C++ 2008. Also you can use VS 2015 but with some fixes
Thanks, i'll give that a try. How about the IGS feature?
I just wasn't able to compile/generate an .exe for the applications, can you make a guide with links according to the necessary files? For v1.X or v2.x please.
-
3 hours ago, V3ct0r said:No, the source code is "pre" 2.4. It is closer to PKO server and client.
Alright, thanks for the information, i'll give it a try by download Visual Studio/C++ 2008 and see if I can compile them, thanks.
-
2 hours ago, Lua said:Actually I never got to set them, but it's worth to try
I just tried setting them, it doesn't throw an error of not being able to connect, but the application just stops working.
- 1
-
6 hours ago, Lua said:@Angelix try by replacing link names to pkodev.net instead of daylight-online.ru
So, there are one public v2.x igs... but meh~~ they are not reliable. Check this:
^^,
Will check it out once I get home, by replacing links. Should I try with the ones you posted on that thread?
-
3 hours ago, 7n6 said:theres still a few bugs, so not yet.
Thanks for the response, will wait then.
-
Dead links, mind replacing? If you have for v2.x as well please, can't seem to find or set the IGS from the ones I have. Thanks!
-
Is there any release on this? Great system by the way!
-
What do you mean by building in argent gone? As is only one building or all? Either way, I think replacing the map files within client from another should fix that problem. Look for another client and get the "garner" files, .map/.obj and such.
-
5 minutes ago, Kyren said:what folder did you used is it the fixed folder?
Yes, I tried building the AccountServer and it successfully generated an application, yet GameServer won't.
Is there any info on a fixed file for the client application? Bit lost here, sorry.
-
17 minutes ago, Kyren said:VS 2015
Tried using the VS 2015 Community, it throws a bunch of errors, any help? Thanks, and sorry for such simple question, never compiled programs nor used C++ before, hahah.
-
I'm Angelix from ServerDev and I have been absent from development way too long, noticed ServerDev was dead/closed and I found this forum by browsing MainDev, anyways, onto the questions hoping someone can help me out here.
- I saw the source code released for v2.x+, is there anyway to compile it, I mean, what program can I use and such?
- Is there an in-game mall already for v2.x?
- Are there any base files for v2.x?
Thanks!
How to make a map tick?
in Questions & Help
Posted · Edited by Angelix · Report reply
Currently no, or not any that I have found yet. If someone knows, please show us the way.
Try this. Since the function works with seconds, not minutes, then a minute translates into 60 seconds, then 180 would be 3 minutes.