Register for your free account! | Forgot your password?

You last visited: Today at 04:23

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

Advertisement



[QUEST]Reset Status: VIT,INT,STR,DEX

Discussion on [QUEST]Reset Status: VIT,INT,STR,DEX within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
Erycon's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 94
Received Thanks: 44
Post [QUEST]All Scroll Reset

Have Fun

Update with full quest:

PHP Code:
    state start begin
        when 71002.
use begin
            say_title
("Status Reset Document:")
            
say("")
            
say("This document make it possible to forget everything.")
            
say("It concerns your whole state. It's not possible")
            
say("to return.")
            
say("")
            
say_reward("Do you want to continue?")
            
local s select("Yes""No")
            if 
== s then
                
return
            
end

            say_title
("Status Reset Document:")
            
say("")
            
say("Your memory will be erased, you will forget")
            
say("everything about your status. You have")
            
say("chance at a new beginning.")
            
say("")
            
say_reward("Do you agree?")
            
local c select("Yes""No")
            if 
== c then
                
return
            
end

            char_log
(0"RESET_ALL""USE_ITEM(71002)")
            
pc.remove_item(71002)

            
char_log(0"RESET_ALL""RESET_STAT_POINTS")
            
pc.reset_point()

            
char_log(0"RESET_ALL""RESET_SKILL_POINTS")
            
pc.clear_skill()
            
pc.set_skill_group(0)
            
char_log(0"RESET_ALL""RESET_END")
        
end

        when 71003.
use begin
            local result 
BuildSkillList(pc.get_job(), pc.get_skill_group())

            
local vnum_list result[1]
            
local name_list result[2]

            if 
table.getn(vnum_list) < 2 then
                say_title
("Skill Reset Document:")
                
say("")
                
say("There are no skills who you can be")
                
say("redistributed.")
                
say("")
                return
            
end

            say_title
("Skill Reset Document:")
            
say("")
            
say("Choose a skill how you want to redistribute.")

            
local i select_table(name_list)

            if 
table.getn(name_list) == i then
                
return
            
end

            local name 
name_list[i]
            
local vnum vnum_list[i]

            
say_title("Skill Reset Document:")
            
say("")
            
say("This document make it possible to redeploy")
            
say("one of your skills, for any skill how you")
            
say("redistributed you can get a maximum of")
            
say("17 skill points.")
            
say(string.format("You choose to redistributed: %s ."name))
            
say("")
            
say_reward("Do you agree?")
            
local s select("Yes""No")
            if 
== s then
                
return
            
end

            char_log
(0"RESET_ONE_SKILL""USE_ITEM(71003)")
            
pc.remove_item(71003)

            
char_log(0"RESET_ONE_SKILL"string.format("RESET_SKILL[%s]"name))
            
pc.clear_one_skill(vnum)

            
char_log(0"RESET_ONE_SKILL""APPLY_17MASTER_BONUS")
            
pc.setqf("force_to_master_skill"1)
        
end

        when 71103.
use or 71104.use or 71105.use or 71106.use begin
            local name 
= {"VIT""INT""STR""DEX"}
            
local idx item.get_vnum() - 71103
            local func 
= { pc.get_htpc.get_iqpc.get_stpc.get_dx }

            if 
func[idx+1]() == 1 then
                say_title
("Redistribution "..name[idx+1]..":")
                
say("")
                
say("The points of "..name[idx+1].." have already been reset to 1.")
                return
            
end

            say_title
("Redistribution "..name[idx+1]..":")
            
say("")
            
say("This scroll make it possible to reset your")
            
say(""..name[idx+1].." points to 1, the points will be refunded")
            
say("to rearrange.")
            
local s select("Yes""No")
            if 
== s then
                
return
            
end

            
if pc.reset_status(idx) == true then
                pc
.remove_item(item.get_vnum())
            else
                return
            
end
        end
    end
end 
Information:
Quote:
The quest is created by me. For all who tall me is from "Ymir" .
Erycon is offline  
Thanks
2 Users
Old 02/02/2013, 22:28   #2
 
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
geht viel kürzer:
PHP Code:
--when xxx.chat."Mein Status" begin    --[bei einem npc die -- entfernen]
--
when xxx.use begin                 --[bei einem item die -- entfernen]
    
say("Du hast deine Statuspunkte folgendermaßen verteilt:")
    
say("Vitalität: " .. pc.get_ht())
    
say("Intelligenz: " .. pc.get_iq())
    
say("Stärke: " .. pc.get_st())
    
say("Beweglichkeit: " .. pc.get_dx())
end 
thespeedyy is offline  
Old 02/02/2013, 22:36   #3
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
Quote:
Originally Posted by thespeedyy View Post
geht viel kürzer:
PHP Code:
--when xxx.chat."Mein Status" begin    --[bei einem npc die -- entfernen]
--
when xxx.use begin                 --[bei einem item die -- entfernen]
    
say("Du hast deine Statuspunkte folgendermaßen verteilt:")
    
say("Vitalität: " .. pc.get_ht())
    
say("Intelligenz: " .. pc.get_iq())
    
say("Stärke: " .. pc.get_st())
    
say("Beweglichkeit: " .. pc.get_dx())
end 
Bist auch nicht ganz hell im kopf?
Seine entfernt die Punke.
.Risan. is offline  
Thanks
3 Users
Old 02/02/2013, 22:59   #4
 
blackwolf96's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 60
Received Thanks: 100
Corrected quest:
Code:
		when 71103.use or 71104.use or 71105.use or 71106.use begin
			local name = {"VIT", "INT", "STR", "DEX"}
			local idx = item.get_vnum() - 71103
			local func = { pc.get_ht, pc.get_iq, pc.get_st, pc.get_dx }

			if func[idx+1]() == 1 then
				say_title("Redistribution "..name[idx+1]..":")
				say("")
				say("The points of "..name[idx+1].." have already been reset to 1.")
				return
			end

			say_title("Redistribution "..name[idx+1]..":")
			say("")
			say("This scroll make it possible to reset your")
			say("VIT points to 1, the points will be refunded")
			say("to rearrange.")
			local s = select("Yes", "No")
			if 2 == s then
				return
			end

			if pc.reset_status(idx) == true then
				pc.remove_item(item.get_vnum())
			else
				return
			end
		end
	end
end
blackwolf96 is offline  
Thanks
1 User
Old 02/02/2013, 23:04   #5
 
Erycon's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 94
Received Thanks: 44
Quote:
Originally Posted by blackwolf96 View Post
Corrected quest:
Code:
		when 71103.use or 71104.use or 71105.use or 71106.use begin
			local name = {"VIT", "INT", "STR", "DEX"}
			local idx = item.get_vnum() - 71103
			local func = { pc.get_ht, pc.get_iq, pc.get_st, pc.get_dx }

			if func[idx+1]() == 1 then
				say_title("Redistribution "..name[idx+1]..":")
				say("")
				say("The points of "..name[idx+1].." have already been reset to 1.")
				return
			end

			say_title("Redistribution "..name[idx+1]..":")
			say("")
			say("This scroll make it possible to reset your")
			say("VIT points to 1, the points will be refunded")
			say("to rearrange.")
			local s = select("Yes", "No")
			if 2 == s then
				return
			end

			if pc.reset_status(idx) == true then
				pc.remove_item(item.get_vnum())
			else
				return
			end
		end
	end
end

Thanks, i don't have any server on my computer or vps
so i don't tested i will reply.

Quote:
Originally Posted by thespeedyy View Post
geht viel kürzer:
PHP Code:
--when xxx.chat."Mein Status" begin    --[bei einem npc die -- entfernen]
--
when xxx.use begin                 --[bei einem item die -- entfernen]
    
say("Du hast deine Statuspunkte folgendermaßen verteilt:")
    
say("Vitalität: " .. pc.get_ht())
    
say("Intelligenz: " .. pc.get_iq())
    
say("Stärke: " .. pc.get_st())
    
say("Beweglichkeit: " .. pc.get_dx())
end 
Your quest does not compare with that soo
Erycon is offline  
Old 02/02/2013, 23:06   #6
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
Ich muss zugeben hat Ymir gut geschrieben.
Und ja sie wird funktionieren.

@Topic: This quest is from Ymir.
.Risan. is offline  
Thanks
2 Users
Old 02/02/2013, 23:20   #7

 
vıo's Avatar
 
elite*gold: 0
The Black Market: 128/1/0
Join Date: Jun 2012
Posts: 1,768
Received Thanks: 356
Nice simple & effective Quest
vıo is offline  
Old 02/03/2013, 00:08   #8
 
elite*gold: 0
Join Date: Oct 2009
Posts: 382
Received Thanks: 161
Quote:
Originally Posted by blackwolf96 View Post
Corrected quest:
Code:
		when 71103.use or 71104.use or 71105.use or 71106.use begin
			local name = {"VIT", "INT", "STR", "DEX"}
			local idx = item.get_vnum() - 71103
			local func = { pc.get_ht, pc.get_iq, pc.get_st, pc.get_dx }

			if func[idx+1]() == 1 then
				say_title("Redistribution "..name[idx+1]..":")
				say("")
				say("The points of "..name[idx+1].." have already been reset to 1.")
				return
			end

			say_title("Redistribution "..name[idx+1]..":")
			say("")
			say("This scroll make it possible to reset your")
			say("VIT points to 1, the points will be refunded")
			say("to rearrange.")
			local s = select("Yes", "No")
			if 2 == s then
				return
			end

			if pc.reset_status(idx) == true then
				pc.remove_item(item.get_vnum())
			else
				return
			end
		end
	end
end
Code:
		when 71103.use or 71104.use or 71105.use or 71106.use begin
			local name = {"VIT", "INT", "STR", "DEX"}
			local idx = item.get_vnum() - 71103
			local func = { pc.get_ht, pc.get_iq, pc.get_st, pc.get_dx }

			if func[idx+1]() == 1 then
				say_title("Redistribution "..name[idx+1]..":")
				say("")
				say("The points of "..name[idx+1].." have already been reset to 1.")
				return
			end

			say_title("Redistribution "..name[idx+1]..":")
			say("")
			say("This scroll make it possible to reset your")
			say(""..name[idx+1].." points to 1, the points will be refunded")
			say("to rearrange.")
			local s = select("Yes", "No")
			if 2 == s then
				return
			end

			if pc.reset_status(idx) == true then
				pc.remove_item(item.get_vnum())
			else
				return
			end
		end
	end
end
vpser is offline  
Old 02/03/2013, 00:22   #9
 
xXDemonenXx's Avatar
 
elite*gold: 3939
Join Date: Nov 2009
Posts: 2,038
Received Thanks: 2,476
Joa Risan

so kann man das auch machen
oder mit einem Tool xDDDD

Mfg xXDemonenXx
xXDemonenXx is offline  
Thanks
1 User
Old 02/03/2013, 00:31   #10
 
elite*gold: 1798
Join Date: Apr 2010
Posts: 654
Received Thanks: 170
Sehr gutes release! Weiter so und ich freu mich (nicht) auf weitere releases.


Kann ich sehr gut gebrauchen


Mfg haufen
hr4rjuku is offline  
Old 02/03/2013, 03:09   #11


 
.Onlyx3's Avatar
 
elite*gold: 0
The Black Market: 100/0/1
Join Date: Jun 2011
Posts: 3,382
Received Thanks: 1,796
Das gibts doch schon ***** lange ! :O

Habe die Teile seit mehr als nem Jahr bei mir in der Gemi.
.Onlyx3 is offline  
Old 02/03/2013, 09:17   #12
 
Erycon's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 94
Received Thanks: 44
First quest it's corrected, all use it. The quest isn't from ymir is created by me. . . if someone has just 50 message that does not mean you can not create something good. You work public, i work private.

Nobody can give me thanks or ecc because i don't public all my creation.
Erycon is offline  
Old 02/03/2013, 11:04   #13
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
Quote:
Originally Posted by Erycon View Post
First quest it's corrected, all use it. The quest isn't from ymir is created by me. . . if someone has just 50 message that does not mean you can not create something good. You work public, i work private.

Nobody can give me thanks or ecc because i don't public all my creation.
Red nicht so ein müll, die Quest ist von Ymir.
In den uralten Files und in den SG files ist diese auch drinne..
Sogar der aufbau ist exakt der selbe.
.Risan. is offline  
Old 02/03/2013, 11:06   #14
 
Erycon's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 94
Received Thanks: 44
Quote:
Originally Posted by .Risan. View Post
Red nicht so ein müll, die Quest ist von Ymir.
In den uralten Files und in den SG files ist diese auch drinne..
Sogar der aufbau ist exakt der selbe.
Ok, ok you're right, me don't get to your level.
you can not understand?
Ok, ok du hast recht, ich mich nicht zu Ihrem Level zu gelangen.

Nobody have filles from Ymir. You really think someone have files from Ymir? Nobody !,
What do you think they have sombody how public the filles?
Go to court for it ! LOL

Quote:
Originally Posted by xXDemonenXx View Post
Joa Risan

so kann man das auch machen
oder mit einem Tool xDDDD

Mfg xXDemonenXx
You're really smart if these are functions not want me to get to change
the binary for you?

All quest have standard function lol .
Erycon is offline  
Old 02/03/2013, 11:26   #15
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
..
Okay Korea old files have not..

SG:

PHP Code:
quest reset_status begin
    state start begin
        when 71103.
use or 71104.use or 71105.use or 71106.use begin
            local name 
= { "Health""Inteligence""Strength""Dexterity" }
            
local idx item.get_vnum() - 71103
            local func 
= { pc.get_htpc.get_iqpc.get_stpc.get_dx }

            if 
func[idx+1]() == 1 then
                say
(name[idx+1].."is1 now.")
                
say(name[idx+1].."can not be reset.")
                
say("")
                return
            
end

            say
(name[idx+1].."is set to 1.")
            
say("Rest of the points can be returned ")
            
say("to traning points.")
            
say("")
            
say("Do you want to proceed?")
            
say("")

            
local s select("Reset""Cancel")

            if 
== 1 then
                
if pc.reset_statusidx ) == true then
                    say
("Reset completed.")
                    
say("")

                    
pc.remove_item(item.get_vnum())
                else
                    
say("Failed to reset.")
                    
say("")
                
end
            end
        end
    end
end 
.Risan. is offline  
Reply


Similar Threads Similar Threads
9 Dragons TH Gold Hack Quest + CP reset
06/29/2012 - 9Dragons - 225 Replies
-21025 - The Celadon Porcelain - 13 Steps - 2500 Gold + 468 xp -GC 6 -26494 - The Disturbance Of Zhengyang Village 2 - 11 Steps - 29114 xp - FD12 -29404 - Princess Reguest - 12 Steps - 162768 xp + 6000 Gold -29206 - Retrieving family treasure - 12 Steps - 102350 xp + Voucher of Fortune -29415 - The Auroral Hunter V - 16 Steps - 58168 xp and 3 Ethernal Muchrooms Stalk ....
[Release] Quest Reset Level & Gold Exploit
05/13/2012 - Nostale Hacks, Bots, Cheats & Exploits - 120 Replies
So da mir der ganze scheiß langsam auf'n Sack geht und man sowieso von vorne bis hinten von Leuten noch dreist verarscht wird release ich den Rotz damits gefixxed wird, ja ihr dürft euch im meinem Thread ausheulen. Anscheinend kann man keinen Leuten mit Packet's vertrauen, aber who cares hab sowieso schon wieder besseres. Und entschuldigung an die Kollegen die es brav für sich behalten haben, vielleicht gibts doch noch paar vertrauenswürdige Leute? Die basis kahm quasi von PainToTheWorld,...
[Quest]Status und Fertigkeiten reset (reset_scroll.quest)
12/09/2011 - Metin2 PServer Guides & Strategies - 42 Replies
Sers Leutchen ... ich post euch hier mal die fertig übersetzte und verbesserte Questfile für die "Fertigkeits-Neuverteilung"s- und "Status-Neuverteilung"s-Rolle ... reset_scroll.quest zur "Fertigkeit-Neuverteilung": ins Deutsche übersetzt... einzige was ihr noch machen müsst, damit die Skills dort auch auf deutsch Angezeigt werden ist folgendes: öffnet die Datei locale_big5.lua in /channel/share_data/locale/hongkong/quest/ und scrollt dort runter bis zum Punkt locale.GM_SKILL_NAME_DICT...
Quest Status aus einer anderen Quest abfragen!
02/13/2011 - Metin2 Private Server - 0 Replies
Gibt es eine Möglichkeit in einer Quest abzufragen, was der Spieler in einer bestimmten anderen Quest im local_select ausgewählt hat? also zb. erste quest: auswahlmöglichkeiten: 1,2,3 zweite quest: when pc.wählt 1 in der quest "blabla" begin nur damit ihr es versteht :D
Champion Quest Reset!
07/20/2009 - Grand Chase Philippines - 17 Replies
Nangyari na ba sa inyo na nagreset your champion title quest nyo? Nangyari to sa akin noong friday. Yung "Sand King" title ko nagreset. Naka 12 successful runs na ko tapos bumalik sa 3/21. Hindi naman ako gumagamit ng engine. Tapos nangyari ulit kanina. Nagreset yung "The Earthshaker" from 30/33 to 0/33 at yung "Warchief" from 35/35 to 14/35. Bago magsimula ang rainbow ganun na stats ko kaya yung pinaghirapan ko kanina from 1-4pm na rainbow 7 event champion mode run parang nabalewala. ...



All times are GMT +1. The time now is 04:23.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.