Yet another Quest Writing Tutorial

09/23/2011 16:03 .Marcel'#16
Quote:
Originally Posted by .Nova. View Post
#Added when use part 1-2 working on 3
#Later extending 2
#Next -> quest flags and other ways to save and edit data (flags, event flags, mysql reading, mysql writing, mysql deleting, textfiles)
Kuhle sache ja.
Mal schauen, was noch daraus wird.
09/23/2011 16:18 KillHumans#17
I need to do a script like that exemple:

In 1 item i need to do that:
First click:
Mount 20113, 365 days.
Second click:
Unmount 20113.

Any help me?
09/23/2011 16:23 .Alpha.#18
Quote:
Originally Posted by KillHumans View Post
I need to do a script like that exemple:

In 1 item i need to do that:
First click:
Mount 20113, 365 days.
Second click:
Unmount 20113.

Any help me?
PHP Code:
quest ride begin
    when itemvnum
.use with pc.is_mount() begin
        pc
.unmount()
    
end
    
    when itemvnum
.use with false == pc.is_mount() begin
        pc
.mount(20113, 60*60*24*365)
    
end
end 
09/23/2011 17:20 KillHumans#19
I change itemvnum to 71114.
I create a ride.quest, i put in my /usr/home/game/share/locale/portugal/quest
I do /reload q in a game and don't work!

:(
09/23/2011 17:31 .Alpha.#20
Did you run python make
or sh make or something like this?
09/23/2011 17:34 .Yacki#21
Yay, Loli hat den neuen Noobschutz entwickelt :awesome:

(Englisch schreiben)
09/23/2011 17:53 √π.#22
Quote:
Originally Posted by Yаcki View Post
Yay, Loli hat den neuen Noobschutz entwickelt :awesome:

(Englisch schreiben)
True story :awesome:

Viel spaß noch mit deinen weiteren Anleitungen! Bis jetzt schauts ganz gut aus.
09/23/2011 18:05 ƬheGame#23
Ich finds super das es in Englisch ist A lernt man was und B Können es nicht alle lessen und ex. schreibt man eigentlich nie man schreibt immer e.g is lateinisch und heisst exempli gratia ja das musste ich schreiben um mir cool vorzukommen ;)
09/23/2011 18:16 .Restince#24
mist ...

Hätte mal im Englisch unterricht aufpassen sollen ist doch zu was gut =)

Aber sonsi schickes Release
09/23/2011 18:35 Howaner#25
thanks .nova
09/23/2011 19:14 A_Flashstyler#26
Nova erklär lieber luasql, dann regelts du böz.
09/23/2011 19:15 .Risan.#27
Luasql gibs zwar, aber wird nicht bei metin2 gehen, hat er doch schonmal in einem anderen Thread erklärt.
Einzige was ginge und das sehr eingeschränkt ist: Os.execute() ...
09/23/2011 19:25 xxglaubichauchxx#28
Sehr nice. Für mich ist das Englisch kein Problem dank 4 Jahren bilingualen Schulunterrichts, aber es ist ein guter Noobschutz :)
Ahjaaa und das How2/Tut ist echt total nice beschrieben :)

LG

GlaubIchAuch
09/23/2011 19:29 KillHumans#29
Quote:
Originally Posted by .Nova. View Post
Did you run python make
or sh make or something like this?
No why?
I did only in game /reload q
09/23/2011 21:34 .Rebel#30
i have just 1 question if possible make the quest record the stuff in another db table
ex:

* the normal quest using the quest table on the player database
* make like some new quest record on quest2 table on the databases

why i ask this very simple i whant make the archivementes be separate of the quest and ranking quests etc... options quests