05-02-2007, 05:51 PM
how do i edit my classes ? i searched the source coulndt find it , whent into data folder and went to classes but dosnt matter what i change it never works any ideas?
another question >>
|
05-02-2007, 05:51 PM
how do i edit my classes ? i searched the source coulndt find it , whent into data folder and went to classes but dosnt matter what i change it never works any ideas?
05-02-2007, 06:17 PM
if you modify the classes.ini file WHILE the server is running, it doesnt reconize the change. Modify the file, then start the server. changes should be visible then.
05-02-2007, 06:22 PM
thanks that worked perfectly
![]()
06-02-2007, 05:34 PM
As you say, tnl is controlled by this code in ms.
Code: Function GetPlayerNextLevel(ByVal Index As Long) As Long In a lot of other sources I've seen the levels are set by the use of an experience/level .ini file using this code instead. Code: Function GetPlayerNextLevel(ByVal Index As Long) As Long Where Experience(GetPlayerLevel(Index)) would be the required exp from the .ini file for a player of that level to reach the next. you can then use it in Sub CheckPlayerLevelUp something like this. Code: Sub CheckPlayerLevelUp(ByVal index As Long) please note that this isn't a full tutorial on how to do it, you would have to add loading of Experience() into the server and a few other things to get it running, but I hope it gives you some ideas. :lol: P.S If you want to change your classes without having to shutdown the server, you can use the 'reload classes' option under the 'Database' menu option on the server. :wink: |
« Next Oldest | Next Newest »
|