Register for your free account! | Forgot your password?

You last visited: Today at 06:19

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


Write_Note Quest [for Remember]

Reply
 
Old   #1
 
elite*gold: 200
Join Date: Sep 2011
Posts: 174
Received Thanks: 379
Write_Note Quest [for Remember]

hello guys
its write_note quest for remember.
its :
PHP Code:
--------------------------------------------
-- 
Write_Note Quest
-- By TheDest.
--------------------------------------------
quest write_note begin
    state start begin
        when 20094.chat
."Write Your Note" with not pc.is_novice() begin
            say_title
(mob_name(20094).."")
            
say("When you login to game;")
            
say("That note come to the window!")
            
say("Write note for remember :")
            
say("")
            
say("")
            ----
"12345678901234567890123456789012345678901234567890"|
            
local msg input()
            
game.set_event_flag("note_"..name,1) -- note_event
            
global.setvarchar("note1_"..name,msg) -- note_save
        end 
        
        when login with game
.get_event_flag("note_"..pc.get_name()) == 1 begin
            say
("You have a remember message!")
            
say_title("Your remember message is that:")
            
say("Note : "..global_getvarchar("note1_"..pc.get_name())) -- show_note.save
        end 
    end 
end 
v2 :
PHP Code:
--------------------------------------------
-- 
Write_Note Quest
-- By TheDest.
--------------------------------------------
quest write_note begin
    state start begin
        when 20094.chat
."Write Your Note" with game.get_event_flag("just1_"..pc.get_name())==0 begin
            say_title
(mob_name(20094).."")
            
say("When you login to game;")
            
say("That note come to the window!")
            
say("Write note for remember :")
            
say("")
            
say("")
            ----
"12345678901234567890123456789012345678901234567890"|
            
local msg input()
            
game.set_event_flag("note_"..name,1) -- note_event
            
global.setvarchar("note1_"..name,msg) -- note_save
            game
.set_event_flag("just1_",..name,1)
        
end --
        
        
when login with game.get_event_flag("note_"..pc.get_name()) == 1 begin
            say
("You have a remember message!")
            
say_title("Your remember message is that:")
            
say("Note : "..global_getvarchar("note1_"..pc.get_name())) -- show_note.save
        end 
-- 
    
end -- 
end -- 
Thx to Epvp



TheDestroyer™ is offline  
Thanks
8 Users
Old 10/04/2011, 15:51   #2
 
elite*gold: 15
Join Date: Sep 2010
Posts: 844
Received Thanks: 967
Nice. But you forgot " here
PHP Code:
say_title("..mob_name(20094)) 
PHP Code:
say_title(""..mob_name(20094)..""


Sp0ngeb0b ist cool is offline  
Thanks
1 User
Old 10/04/2011, 15:52   #3

 
elite*gold: 15
Join Date: Mar 2010
Posts: 4,265
Received Thanks: 2,481
€Sponge hats schon gesagt
LxR'EsoZiaL is offline  
Old 10/04/2011, 15:52   #4
 
elite*gold: 200
Join Date: Sep 2011
Posts: 174
Received Thanks: 379
not different


TheDestroyer™ is offline  
Old 10/04/2011, 16:25   #5
 
elite*gold: 0
Join Date: Aug 2009
Posts: 962
Received Thanks: 96
was bringt die quest? xD
lautlosertot is offline  
Old 10/04/2011, 16:50   #6
 
elite*gold: 0
Join Date: Aug 2008
Posts: 4,548
Received Thanks: 1,660
Damit kannst du dir Notizen machen...
SuraKämpfer1 is offline  
Old 10/04/2011, 17:00   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 962
Received Thanks: 96
xD naja für mühe thx
lautlosertot is offline  
Old 10/05/2011, 12:02   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 56
Received Thanks: 20
Why do you use event flags ?
You just need to use quest flags, and a simple varchar...
By the way, that "input" won't allow more than 12 characters ( as I know.. ), so it could be a better quest if you inserted more 'input' fields, to a longer mensage.

If you are that "pro" quest scripting, do a writing_note quest that's shows up a note to a diferent character.( Or to all the people in the server / especific map ).
This is a challenge, would you accept it?
mklive is offline  
Old 10/05/2011, 17:38   #9
 
elite*gold: 200
Join Date: Sep 2011
Posts: 174
Received Thanks: 379
you right but im not pro ^^
TheDestroyer™ is offline  
Old 10/05/2011, 17:55   #10

 
elite*gold: 0
Join Date: Mar 2010
Posts: 1,086
Received Thanks: 550
Der Befehl "game.get_event_flag" und "game.set_event_flag" gilt für Alle spieler. Also müsste es doch durch "pc.getqf" und "pc.setqf" geändert werden, damit die Notizen nur für den Spieler gelten oder nicht? Vll. habe ich auch den Zweck der Quest falsch verstanden, mein English ist nicht Perfekt.
RedKing2 is offline  
Old 10/06/2011, 15:22   #11
 
elite*gold: 0
Join Date: Mar 2008
Posts: 146
Received Thanks: 195
schlimmste quest die ich je gesehen habe... mit abstand.
WHY:
1.) was bringt einem eine Notiz die kann man sich auf nen zettel schreiben so wenig worte wie man da nur abspeichern kann.
2.) wenn es für einen anderen user sein soll warum kann der dann maximal eine notiz bekommen? evtl. FAIL?
3.) Warum gibt es die Notiz nur einmal beim Login zu sehen? Ein abrufen von älteren Notizen sollte auch möglich sein.

4.) und auch noch eine gebuggte V2 -.- man kann nur einmal ne notiz hinterlegen die man dann dauerhaft beim login angezeigt bekommt schonmal mit game.set_event_flag("just1_",..name,0) versucht um die wieder beschreibbar zu machen.

Naja da fehlen mir echt die Worte, da bringt auch helfen nichtsmehr.
Ich hoffe du verträgst Kritik
Noch ne verbesserung say_title(mob_name(20094)) man braucht kein lehrstring anhängen zum 1000x mal in dieser Sektion!!
Greetz


Mastermonkey is offline  
Thanks
1 User
Reply



« [Mini Release]Pferdemedaille Quest | [Release]Meerjungfrau Quest »

Similar Threads
any 1 remember
what was the version of game before the last patch :confused: ??????????
9 Replies - 12Sky2
Does Anyone Remember?
How to remove the chat filter blocking certain words? I couldn't find it in search....
4 Replies - Cabal Main - Discussions / Questions
Any one remember this?
YouTube - Bugroad Bug N 408 and the second part YouTube - Bugroad Bug N 408 ( Reloaded ) Any one remember some coments aggresive and...
5 Replies - SRO Main - Discussions / Questions
remember
hi,HELLO:rtfm::mofo::handsdown:
1 Replies - Say Hello
Any 1 remember maybe
Hi, I just wana ask something... i remember some long time ago, there were progam..not sure if it was some cind of cotobo..or COPartner..or even...
6 Replies - CO2 Main - Discussions / Questions



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


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

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