Register for your free account! | Forgot your password?

You last visited: Today at 06:24

  • Please register to post and access all features, it's quick, easy and FREE!

 

Class Selector

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2005
Posts: 92
Received Thanks: 0
This Script allows the user to select any class without scripting arround in config.inc.
Open Editor and insert following code:


________________

_APPNAME = "chr0nos class selector"

gui = OpenGui(_APPNAME,20,90)


botlist = AddList(gui,20,0,60,60)


choose = AddButton(gui,"Choose",20,70,50,20)

ExitOnGuiClose(gui)

botdone = 0



AddListItem(botlist,"ADDYOURCLASS")
AddListItem(botlist,"ADDYOURCLASS")
AddListItem(botlist,"ADDYOURCLASS")
AddListItem(botlist,"ADDYOURCLASS")
while 1 do




if IsButtonPressed(choose) == 1 then
liststate = GetListState(botlist)
botname = GetListItemText(botlist, liststate)
File.Erase("config.inc")
config = File.Create("config.inc")
File.WriteLine(config,"include(\"AI/"..botname.."/"..botname.."_combat.inc\")")
File.WriteLine(config,"include(\"AI/"..botname.."/"..botname.."_rest.inc\")")
File.WriteLine(config,"include(\"AI/"..botname.."/"..botname.."_keys.inc\")")
File.Close(config)
end

end

__________________

Than save as .fss


ADDYOURCLASS should be replaced with a Class like "warrior" .
The folder/files should have the following structure:
\AI\classname\classname_combat.i nc
\AI\classname\classname_keys.inc
\AI\classname\classname_rest.inc

where classname should be replaced with the Name of the Class like "warrior".



chr0nos is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
what is the best class to grind metin2 yang(class selection guide for newbies)
Again, I am using Enligsh. So if you cant read it well, just turn to google online translation. If i am supposed to say or answer what is the...
1 Replies - Metin2 Main - Discussions / Questions
WTB ANY CLASS LEVEL 100+ FOR LAST CHAOS ETERNIA!!!! ANY CLASS WTB WITH OR WITHOUT EQ
What the title says, however the account for sale must not be past like 40, paypal will do and middleman the account must not been under any...
0 Replies - Last Chaos Trading
RIESEN MULTIHACK SELECTOR PROBLEM BEI JEDEN SELECTOR
Also hallo erstmal ... ja ich will sofort zur Sache kommen wie die berschrift sagt hab ich ein Riesen Problem mit jeden Multihack : Ich versuche...
10 Replies - Metin2 Main - Discussions / Questions
Selector Help Plz
Well ive made my server and all but i need to disable selector , so im wondering if anyone can host a login.cs with selector disabled on a download...
3 Replies - CO2 Main - Discussions / Questions
Class change to TBC Class (bloodelf & Danei)
habe das hier vor kurzem mal im icq gesendet bekommen, hoffe das steht hier noch net ^^ es ist zwar buggy z.b. wenn ihr ein troll mit tatoos in...
127 Replies - WoW Modelchange Support



All times are GMT +2. The time now is 06:24.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.