![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 49
|
hi
I'm wondering how can I add this to my server, I want to do it on my own, not just download some files...I'm new into this stuff so a hint about how to start working on this would be nice ![]() ty |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
ai.obj
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Aug 2005
Posts: 49
|
omg, you're mean lol :P...no really I need some clues how to start...where do u save the data, that a player can change his class
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
its a fuction in ai.obj to change a players class.
Subclass's as you know them from Official is not possible without hex-modifications of .exe's - and dont let anyone say it is. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
And sorry for saying this djvogans, but now you sound like a complete newbie.
Official subclass system - you can change between classes, and each subclass you have, has their own skills and their own level. Does yours? if not, remove the "like official" shit from your signature. Yours are more a second class system as i see it, which i myself also have working. |
|
|
|
|
#7 | |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
i'll tell you a clue: user_data2, user_skill2 in db ... and more .. db lin2world
btw Quote:
|
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
http://img222.imageshack.us/my.php?image=48ej1.jpg
I quote: "you have older skills" "if you want to change your profession again, reeach level 75 and then search for me again" If its like official, why do you have older skills? And why do they need to be lvl 75 to change back to a class? :-) and theres no user_data2 or user_skill2 - and making them is useless since all data are stored in cached. |
|
|
|
|
#9 | |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
that is how our players vote for . It's so hard to delete all skills ... u said that u r an "ai dev" ... and u don't know that ....maybe u need to be a sql dev to realise how it works. (creating subclass) ... nvm .. end of discussion.
Quote:
U have other NPCs where u can free change between 1st class and subclass. |
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
why involve sql? cached controls data while server is running - not database.
so your "subclass" system requires a reboot of server to work? Why dont you show a screen of how a user can change between the subclasses he has? (Uhh yeah, go make a static html - roflmao) And if you do have a sorta user_data2 that cached can load aswell and see the difference from the other user_data - brings us back to hex. |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
or use dinamic db ?
and no need for hex .. u can always make new stored procedures.
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Yes but stored procedures arent used when the server is running.
Once a user logs on his data is stored in cached for an amount of time - if not till reboot. So unless you have a way of altering this from ai.obj |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
One other thing, this magical subclass system you claim to have - did you make it really or just a theory you have, that is untested?
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
and when an user log on what is happening ? IT USE STORED PROCEDURES!
Code:
set @sql = ' insert into req_charmove ( old_char_name, old_char_id, account_name, account_id, old_world_id, new_world_id, new_char_name ) select R1.char_name, char_id, account_name, account_id, ' + @world_id + ' , 100, R1.char_name + ''-' + @world_id + ''' from ( select * from ' + ' OPENROWSET ( ''SQLOLEDB'', ''' + @conn_str + ''', '' select char_id, char_name, account_id, account_name from lin2world.dbo.user_data (nolock) '' ) ) as R1 ' + ' left join ( select * from req_char (nolock) where server_id = ' + @world_id + ' ) as R2 ' + ' on R1.char_name = R2.char_name ' + ' where server_id is not null ' exec ( @sql ) Quote:
nvm ... have fun .... |
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Yes it uses the stored procedures, but only once after reboot, then the data is stored in cached - and this is why you cannot modify db in "real time".. so once u load the char by loggin in once, its in cached.
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: May 2005
Posts: 216
|
archy u r wrong about server need to be rebooted.
if the command has been pushed trough ai.obj it affect cached imidiatly and store the new data to sql db and affect the char on the fly. |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Feb 2005
Posts: 357
|
anyway if u change back to ur old class there is no way to have the skills u used to have without a restart.
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Sauron, Thank you.
BigBoy, but "WHAT" command can possibly do that in ai.obj without hex-modifications/dll hooks/something not ai-coding |
|
|
|
|
#19 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
lol that gypsy from romania is completely wrong ;]
subclass system on official is COOOOOOOOOOL you can switch when you want. NO requirements after first switch..etc.. do u ever try to pay for L2? try it.. |
|
|
|
|
#20 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
@rodier
gipsy ? // watch your language ... And maybe learn something about Romania. Are you a Hitler fan , or what ? U are just a fucking idiot . I don't understand why mods didn't ban you until now for your language on this forum. Go back to your L2Walker. BTW i live in France. @Sauron .. if u create a procedure that moves info from user_data to another table , u can move and restore user_skill too . |
|
|
|
|
#21 |
|
Архивный участник
Join Date: Mar 2005
Posts: 368
|
Gypsies doesn't have a country Rodier...try to learn something instead.
"It is said that Gipsies, have lived in Egypt from the year 200 b.c. and that they were Pharos' slaves" "The year 1312 researchers say that the first Gipsies were found on the Island crete (Greece). Many researchers believe that the Gipsies originate from India." "In the 14th century the Gipsies call them selves " Dom " which means human being in the Indian language. The Gipsies changed the letter D to a R " Rom " means in Romani Gipsy man. The word human being is " Manosch " in Romani. The year 1453 in France, the Gipsies were deported, tortyred and called discriminating names." |
|
|
|
|
#22 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 30
|
Quote:
So actually the question is are you?? otherwise you would not have mentioned it. You thank your freedom cause there were people that had more bravery to fight them and gain the freedom back we lost, you should respect that and leave the past as it it. |
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Someone please close this thread?
This is exactly the kind of childish behavior (displayed by rodier and djvogans) that ruined Ragezone, are we gonna let it ruin PP completely? djvogans, you are so wrong that you dont even realize it, we thought of this ages ago, but the problem is cached - which prevents that idea of a subclass system by saving data once user logs on second time, instead of asking for it in database. Simple test to proove it, try opening your test server and do this: 1. Log onto server and choose a char / enter world 2. Log off server 3. Go into SQL manager and manually set level of that character to lets say +10 4. log back in game and see if it changed - I bet it didnt.. but once you reboot server it has changed. And at the end, what are with these eastern european people - yes, im sure they got killed and their women raped, in several wars including WW2 - but are they gonna use this as a "its okay for us to play pirate games" forever? //Sarkasm on A-Bomb was invented with these situations in mind, anyone feel like donating? //Sarkasm off I mean come outta the closet already, we already saw you guys go in there. |
|
|
|
|
#24 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
This getting utterly stupid. Obviously the new rules haven't been read or you guys are completely throwing it out the window.
If you guys have issues with something, report it instead of trying to solve it yourself. It only adds fuel to the fire. That's what the button is there for. Warnings issued and topic is now closed. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|