Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 28.08.2005, 00:14   #1
mar_tin
Архивный участник
 
Join Date: Aug 2005
Posts: 49
Default Subclass System

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
mar_tin is offline  
Old 28.08.2005, 00:29   #2
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

ai.obj
archy is offline  
Old 28.08.2005, 15:25   #3
mar_tin
Архивный участник
 
Join Date: Aug 2005
Posts: 49
Default

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
mar_tin is offline  
Old 28.08.2005, 18:28   #4
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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.
archy is offline  
Old 28.08.2005, 21:38   #5
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

archy .. u r wrong ! ask Soapy about that.. i showed him some pics

here u go for u 2 :



sorry for posting img
djvogans is offline  
Old 28.08.2005, 21:45   #6
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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.
archy is offline  
Old 28.08.2005, 21:50   #7
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

i'll tell you a clue: user_data2, user_skill2 in db ... and more .. db lin2world

btw
Quote:
Originally Posted by archy
Subclass's as you know them from Official is not possible without hex-modifications of .exe's - and dont let anyone say it is.
don't be so sure ...
djvogans is offline  
Old 28.08.2005, 21:59   #8
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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.
archy is offline  
Old 28.08.2005, 22:07   #9
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

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:
"if you want to change your profession again, reeach level 75 and then search for me again"
In official u can select another subclass untill your subclass reached lvl 75?

U have other NPCs where u can free change between 1st class and subclass.
djvogans is offline  
Old 28.08.2005, 22:13   #10
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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.
archy is offline  
Old 28.08.2005, 22:16   #11
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

or use dinamic db ? and no need for hex .. u can always make new stored procedures.
djvogans is offline  
Old 28.08.2005, 22:22   #12
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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
archy is offline  
Old 28.08.2005, 22:23   #13
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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?
archy is offline  
Old 28.08.2005, 22:29   #14
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

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 )
maybe we all need to read what stored procedures do

Quote:
Originally Posted by archy
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?
that's a stupid question ... at the begining of this threat i just want to tell you that u don't need to hex files for subclass and noq u ask my .. "did u have done that ?"

nvm ... have fun ....
djvogans is offline  
Old 28.08.2005, 22:40   #15
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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.
archy is offline  
Old 29.08.2005, 02:05   #16
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

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.
BiGBoY is offline  
Old 29.08.2005, 02:27   #17
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

anyway if u change back to ur old class there is no way to have the skills u used to have without a restart.
Sauron is offline  
Old 29.08.2005, 04:55   #18
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Sauron, Thank you.

BigBoy, but "WHAT" command can possibly do that in ai.obj without hex-modifications/dll hooks/something not ai-coding
archy is offline  
Old 29.08.2005, 08:39   #19
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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..
rodier is offline  
Old 29.08.2005, 09:15   #20
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

@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 .
djvogans is offline  
Old 29.08.2005, 12:18   #21
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

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."
Eliot is offline  
Old 29.08.2005, 12:46   #22
Tim21
Архивный участник
 
Join Date: Aug 2005
Posts: 30
Default

Quote:
Originally Posted by djvogans
@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 .
Yes and they shopuls ban you also for your insult, yuou ask him if he is a hitler fan, even talking about that guy is alrdy worse enough.

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.
Tim21 is offline  
Old 29.08.2005, 13:50   #23
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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.
archy is offline  
Old 29.08.2005, 15:57   #24
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

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.
flakka is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:12.