Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 18:30

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

Advertisement



[RELASE/SCRIPT] Quick Change Class.

Discussion on [RELASE/SCRIPT] Quick Change Class. within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
yosiemelo's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 188
Received Thanks: 103
Thumbs up [RELASE/SCRIPT] Quick Change Class.

hey,
I was playing with the scripts a bit as always and I decided to share with you a script to change the character class with one click.
it can be helpful for new developers who want to quickly test classes, but it can also help existing developers learn lua, I used a lot of good techniques and tried to keep the code very clean. (NOT LIKE GALALAB.)

So draw conclusions from this, if you want I can post such scripts more often.
If even one person learns something from this, it was worth releasing.

Greetings to all of you, (except for those trash who DDOS better servers, fuck you)



Code:
function job()
    dlg_title("@263603")
    dlg_text("@91002369")
    dlg_menu('@1338',  'Job_menu_1("Gaia")' )
    dlg_menu("@1355", 'Job_menu_1("Deva")' )
    dlg_menu("@1371", 'Job_menu_1("Asura")' )
    dlg_menu("@90010002", "")
    dlg_show()
end


function Job_menu_1(race)
dlg_title("@263603")
dlg_text("@91002409")

local class = {
    Gaia = {120,121,122,123,124},
    Deva = {220,221,222,223,224},
    Asura = {320,321,322,323,324}
}

local function display_jobs(race)
    for _, job in pairs(class[race]) do
        dlg_menu("@".. 10000 + job , "job1("..job..")")
    end
end

display_jobs(race)

dlg_menu("@90010003", "job()")
dlg_menu("@90010002", "")
dlg_show()
end



function job1(_job)
local classes = {}
classes[320] = {301,310,320}	--Slayer
classes[321] = {301,311,321}	--Deadeye
classes[322] = {302,312,322}	--Voidmage
classes[323] = {302,313,323}	--Corruptor
classes[324] = {303,314,324}	--Overlord

classes[120] = {101,110,120}	--Berserker
classes[121] = {101,111,121}	--Marksman
classes[122] = {102,112,122}	--Druid
classes[123] = {102,113,123}	--War Kahuna
classes[124] = {103,114,124}	--Beast Master

classes[220] = {201,210,220}	--Templar
classes[221] = {201,211,221}	--Mercenary
classes[222] = {202,212,222}	--Cardinal
classes[223] = {202,213,223}	--Oracle
classes[224] = {203,214,224}	--Master Breeder

local function change_class(class)
    local classNumbers = classes[class]
    if classNumbers then
        for _, job in ipairs(classNumbers) do
            learn_all_skill()
            Run_JobChange_common("@"..10000 + job, job)
        end
    else
        private_notice("Invalid class number: " .. tostring(class))
    end
end

reset_skilltree(0)
reset_job(0)
learn_all_skill()

change_class(_job)

sv("lv", 164)
--sv("free_statpoints", 3000)
end
Attached Files
File Type: rar YSM_Quick_Class_Change.rar (864 Bytes, 20 views)
yosiemelo is offline  
Thanks
5 Users
Old 08/30/2023, 23:44   #2
 
yosiemelo's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 188
Received Thanks: 103
PS:

I know that the naming of variables is not at a high level here, but that's because I didn't know how I wanted to write it at the beginning haha
yosiemelo is offline  
Old 08/30/2023, 23:48   #3
 
Sh4doxie's Avatar
 
elite*gold: 0
Join Date: Jun 2021
Posts: 43
Received Thanks: 12
Such a good release, keep goin!
Sh4doxie is offline  
Reply

Tags
rappelz, relase, script


Similar Threads Similar Threads
[funny-release] change CLASS npc by addition to pirate class xDDD
01/12/2012 - CO2 PServer Guides & Releases - 30 Replies
all of us wating for pirate decided to code some sort of npc which change ur job in additon to pirate that some sort of fun no more in ur npc.cs or what ever its name add that #region (CharChanger By Eslam) case 17494: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Would u like to change your job?"); dialog.Option("Yes Please", 1); dialog.Option("No.", 255); dialog.Send(); break; }
[RELASE] OFFICIAL SERVER SKILLX4 APRIL 28/04/2011 new relase
05/28/2011 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 17 Replies
I managed to create this new file pc.epk the hack shield of the official metin2 client can not detect. It took me a lot to create it and it works perfectly. skill dmg x 4 for all skills. Working 28/04/2011 http://t1.gstatic.com/images?q=tbn:ANd9GcSCU9pcO2 vvTQ5nFRtDW-WCzvd4JxwDEIQaAcDcwPbjwJFb_0YH&t=1 : Free File Hosting, Online Storage &amp File Upload with FileServe Comment me:) ps. copy this file into the pack folder :cool:
ANybody Knows how to change class to another class
08/20/2009 - Cabal Online - 5 Replies
I ve been wondering if a WA could wear a martial set or a wizard could wear battleset..Any one knows how to change class? ;)
Class change to TBC Class (bloodelf & Danei)
11/03/2006 - World of Warcraft - 127 Replies
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 der fratze habt usw aber man kann es durch aus usen. am besten neuen char machen und richtig einstellen :). Anleitung: ladet die datei runter in euer World of Warcraft\Data ordner und benennt sie in speech2.mpq um, dan einfach in wow einloggen wenn es ein stick wert ist bitte sticken :)



All times are GMT +2. The time now is 18:30.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.