viewing paste Unknown #20622 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
[12/23/2014 8:18:52 PM] EyZi Nakagami: Hey pneuma. how's it going? I'd like to ask for your assistance for some RO development I'm doing. I guessed you'd know more about this than anyone else.
[12/23/2014 8:19:34 PM] Gunar (Pneuma): Erm...well...I mean I kinda resigned from RO again but I guess I can try to offer some help though I dont have any programs any more
[12/23/2014 8:21:24 PM] EyZi Nakagami: Yeah, that's fine. So I saw your dev about the custom skills/profession and that was very similar to what i'd like to develop. What I wanted was to make custom skills, but instead of having adding skills points to them, I want every skill to have its own exp which increases whenever used. You think that's possible?
[12/23/2014 8:21:49 PM] Gunar (Pneuma): Yes it is possible
[12/23/2014 8:22:24 PM] Gunar (Pneuma): My profession system used experience gained by using the profession to level up the skills and after a certain amount it would autolevel
[12/23/2014 8:24:50 PM] EyZi Nakagami: yeah that's also how i understood how your system worked. Lol. I wanted to change the system of my RO to that because i find the concept of just adding skill points every job level up outdated and boring lol. Is that something i change in src or do i have to have a specific rA git?
[12/23/2014 8:25:27 PM] Gunar (Pneuma): Honestly I scripted the whole thing using npcs
[12/23/2014 8:25:41 PM] Gunar (Pneuma): Except for the skills themselves of course
[12/23/2014 8:25:54 PM] EyZi Nakagami: Ohh? that's... kind of amazing lol. i never thought of doing that.
[12/23/2014 8:25:58 PM] Gunar (Pneuma): Yeah
[12/23/2014 8:26:02 PM] EyZi Nakagami: So you used character variables for all of them?
[12/23/2014 8:26:12 PM] Gunar (Pneuma): The only thing that was source was the skill information
[12/23/2014 8:27:11 PM] EyZi Nakagami: Hmm. Though character-bound variables are limited, right? Or is it unlimited as well?
[12/23/2014 8:27:34 PM] Gunar (Pneuma): I believe its unlimited? I'm not completely sure, I never ran into any issues
[12/23/2014 8:28:16 PM] Gunar (Pneuma): Weird...I dont seem to have permission to log into rA
[12/23/2014 8:29:44 PM] EyZi Nakagami: Ahh. Coolio. Yeah cuz what i wanted to do was there will only be one generic "job" and the initial skills are weapon masteries. everytime the player uses a weapon, the mastery skill for that specific weapon will gain experience and eventually level up. and then at certain points it will unlock the skills relevant to using that weapon lol.
[12/23/2014 8:29:57 PM] EyZi Nakagami: yeah i had that problem this morning. it's weird. i think it's rathena's bug.
[12/23/2014 8:30:47 PM] Gunar (Pneuma): But yeah if you look at the last screenshot in the project craft thread you'll see how the exp works
[12/23/2014 8:33:02 PM] EyZi Nakagami: Yeah I see how it works now. I just thought you made the exp thing hardcoded in the skill.c and i wanted to know how you did it Lol
[12/23/2014 8:33:24 PM] Gunar (Pneuma): Nope; Everything was variables and script lol
[12/23/2014 8:34:08 PM] EyZi Nakagami: Fair enough XD I'll try to do that too, then. When I come across some difficulties, would you mind helping me out again?
[12/23/2014 8:35:00 PM] Gunar (Pneuma): Honestly if I still had the files I'd give them to youbut since I thought i'd never need them again i trashed them
[12/23/2014 8:35:50 PM] EyZi Nakagami: Yeah no that's fine. I can probably make it myself. Shouldn't be too hard now that I know how it basically works. lol
[12/23/2014 8:37:51 PM] Gunar (Pneuma): Yeah all you need is a basic script that gives a character random variable, which is the exp per catch, and after each catch(end of event) have it check if that variable matches or exceeds a set variable array(the levels in the skill) and yadayada
[12/23/2014 8:40:03 PM] Gunar (Pneuma): Using "getskill" helps too specifically for checking if they have the profession skill and knowing when to give the level up(when the exp matches or exceeds the array variable)
[12/23/2014 8:40:44 PM] EyZi Nakagami: hmm. How did you get the variable of the skill level to display on the skill window?
[12/23/2014 8:41:00 PM] Gunar (Pneuma): Thats what I was talking about with the getskill
[12/23/2014 8:41:16 PM] EyZi Nakagami: Ohh. hmm.
[12/23/2014 8:41:22 PM] Gunar (Pneuma): Using getskill with variables
[12/23/2014 8:41:24 PM] Gunar (Pneuma): like erm..
[12/23/2014 8:41:52 PM] EyZi Nakagami: ahh i see it. it's your custom script XD
[12/23/2014 8:42:06 PM] Gunar (Pneuma): getskill 3140 level*proflevel 4(this being the flag)
[12/23/2014 8:43:43 PM] Gunar (Pneuma): you would have the script run getskill before it ends the script and use the level array variable to multiply the basevariable being 1 by that many
[12/23/2014 8:44:31 PM] Gunar (Pneuma): That way it would always give the player the next level of skill based on the level in the array
[12/23/2014 8:45:12 PM] Gunar (Pneuma): I'm sorry if this is confusing i just really forgot how to script lol..
[12/23/2014 8:45:38 PM] EyZi Nakagami: Yeah. Looks like I get it now. This'll be easy if every skill has a fixed algorithm in the effects rather than unique.
[12/23/2014 8:45:50 PM] EyZi Nakagami: No worries. I got it. lol Thank you for your help.
[12/23/2014 8:45:50 PM] Gunar (Pneuma): I think I might be able to help you out..
[12/23/2014 8:45:58 PM] EyZi Nakagami: That's awesome.
[12/23/2014 8:46:16 PM] Gunar (Pneuma): I have an old script on eathena that I used as a basis for the leveling in my fishing script
[12/23/2014 8:46:36 PM] EyZi Nakagami: Ohh. That'd be great.
[12/23/2014 8:46:59 PM] Gunar (Pneuma): just gotta hope I can find it lol
[12/23/2014 8:47:53 PM] EyZi Nakagami: Is it recently? cuz eA changed boards, right? lol
[12/23/2014 8:48:06 PM] Gunar (Pneuma): Theres "forum" and "board" for
[12/23/2014 8:48:13 PM] EyZi Nakagami: i forgot my credentials on the old board and lazy to make another account.
[12/23/2014 8:48:14 PM] EyZi Nakagami: Yeah. lol
[12/23/2014 8:50:16 PM] Gunar (Pneuma): heres my old profile lol..
[12/23/2014 8:50:17 PM] Gunar (Pneuma):
[12/23/2014 8:50:42 PM] Gunar (Pneuma): just gotta kinda move around the slow things
[12/23/2014 8:51:00 PM] EyZi Nakagami: Awesome. I'll go look for it in a bit. :) thanks.
[12/23/2014 8:51:22 PM] Gunar (Pneuma): btw "Rank System" would kinda be it but the original script was removed from that topic
[12/23/2014 8:52:02 PM] EyZi Nakagami: Ah. Yeah I was looking at the Fishing script and I was like "wait this doesnt look like it" lol
[12/23/2014 8:52:13 PM] Gunar (Pneuma): Sometime ago I celebrated my 9 year anniversary with Athena lol
[12/23/2014 8:54:02 PM] EyZi Nakagami: Didn't know eA has been around that long.
[12/23/2014 8:54:12 PM] EyZi Nakagami: oh wait the original athena?
[12/23/2014 8:54:18 PM] Gunar (Pneuma): It started back in like 2003 I think?
[12/23/2014 8:55:01 PM] EyZi Nakagami: Ahh. Yeah lol. That's nice.
[12/23/2014 8:55:30 PM] Gunar (Pneuma): Im on like page 8 now lol..
[12/23/2014 8:55:45 PM] Gunar (Pneuma): I found it :D
[12/23/2014 8:56:08 PM] Gunar (Pneuma):
Its a little messy but I think you'd be able to decyfer it lol
[12/23/2014 8:58:51 PM] EyZi Nakagami: Yeah I can read it just fine. lol. Thanks a bunch, man!
[12/23/2014 8:58:57 PM] Gunar (Pneuma): Np
[12/23/2014 8:59:26 PM] EyZi Nakagami: oh wait one last question
[12/23/2014 8:59:29 PM] Gunar (Pneuma): Tbh my fishing profession was seriously just that and my fishing script on rA combind with the getskill stuff
[12/23/2014 8:59:46 PM] EyZi Nakagami: about the header:
,,,5 script Reputation Display 837,{
would it be any different if i just use:
- script Reputation Display 837,{
[12/23/2014 9:00:19 PM] Gunar (Pneuma): well I mean that was I think just a placeholder? but it should work like that too
[12/23/2014 9:00:45 PM] EyZi Nakagami: Alright. I thought the direction played some role. lol. Cool. i got this.
[12/23/2014 9:00:58 PM] Gunar (Pneuma): Let me cut it down some and get you the major parts you need
[12/23/2014 9:01:13 PM] EyZi Nakagami: Alright.
[12/23/2014 9:02:46 PM] Gunar (Pneuma): oh btw
[12/23/2014 9:02:58 PM] Gunar (Pneuma): the ,,,5 was an empty placeholder for a location
[12/23/2014 9:03:22 PM] EyZi Nakagami: yeah. there was the direction of 5 so i was confused lol
[12/23/2014 9:03:40 PM] EyZi Nakagami: i guess it works eitherway. not really a big deal.
[12/23/2014 9:07:21 PM] Gunar (Pneuma):
This is everything you would need to modify it into a profession leveling system
[12/23/2014 9:07:37 PM] Gunar (Pneuma): you can replace any mes with dispbottom
[12/23/2014 9:08:12 PM] EyZi Nakagami: looks good. :D thanks!
[12/23/2014 9:09:29 PM] Gunar (Pneuma): btw you will need to modify the first setarray because skills always start off at 1
[12/23/2014 9:10:15 PM] EyZi Nakagami: hmm. i wont have problem with that. i guess. i'll have it start off at 1 once it's unlocked. lol
[12/23/2014 9:10:19 PM] Gunar (Pneuma): Alright
[12/23/2014 9:10:53 PM] Gunar (Pneuma): Good luck
[12/23/2014 9:11:07 PM] EyZi Nakagami: Thanks man. you too.
Viewed 401 times, submitted by unknown.