Ox Event Problem

03/23/2013 01:13 [Admin]Sound#1
when i start ox event it says to me Event started succesfuly
i have questions but dont start the quiz please help









thanks!!!
Reward [Admin]Sound
HTML Code:
 ;D
03/23/2013 10:01 .CHiiLLOuT#2
Wich Serverfiles and Post the OX Quest.
03/23/2013 10:23 socressor#3
Look at the syserrs Serverside and post the Ox quest please^^
03/23/2013 18:22 [Admin]Sound#4
Quote:
Originally Posted by socressor View Post
Look at the syserrs Serverside and post the Ox quest please^^
OX QUEST
PHP Code:
quest oxevent_manager begin
        state start begin
                when 20011.chat
."The Intelligence-Competition" begin
                        say_title
("Uriel:")
                        
say("")
                        
say("Hey - You there!")
                        
say("Yes, yes, exactly you - You look quite intelligent")
                        
say("There is a test,")
                        
say("it's called Intelligence-Competition!!!")
                        
say("There are great rewards if you win.")
                        
say("")
                        
wait()

                        if 
game.get_event_flag("oxevent_status") == 0 then
                                say_title
("Uriel:")
                                
say("")
                                ----
"12345678901234567890123456789012345678901234567890"|
                                
say("When the competition start I can let you")
                                
say("participate in it, but you could also")
                                
say("just watch.")
                                
say("")
                                
say("The start time is still not determined")
                                
say("I will let you know, so be ready.")
                                
say("")
                        elseif 
game.get_event_flag("oxevent_status") == 1 then
                                say_title
("Uriel:")
                                
say("")
                                
say("Do you want to participate now?")
                                
say("Of course you can also just watch...")
                                
say("")

                                
local s select("Participate""Watch""Cancel")

                                if 
== 1 then
                                        say_title
("Uriel:")
                                        
say("")
                                        
say("Do you want to try it out?")
                                        
say("Okay - Let's start.")
                                        
say("")

                                        
wait()

                                        
pc.warp(89650024600)
                                elseif 
== 2 then
                                        say_title
("Uriel:")
                                        
say("")
                                        
say("Watching?")
                                        
say("Okay - Then you can watch here.")
                                        
say("When you participate, then you have to stay here to the end.")
                                        
say("")

                                        
wait()

                                        
pc.warp(89630028900)
                                
end
                        
elseif game.get_event_flag("oxevent_status") == 2 then
                                say_title
("Uriel:")
                                
say("")
                                ----
"12345678901234567890123456789012345678901234567890"|
                                
say("The competition has already started.")
                                
say("This time you can't participate anymore!")
                                
say("Soon a next competition might start,")
                                
say("you will of course be informed.")
                                
say("At least you can still watch!")
                                
say("Do you want at least to watch?")
                                
say("")

                                
local s select("Watch""Cancel")
                                if 
== 1 then
                                        say_title
("Uriel:")
                                        
say("")
                                        
say("Hmm, Hmm, are you watching?")
                                        
say("To watch it a couple of times will benefit you,")
                                        
say("if you are going to participate yourself.")
                                        
say("")

                                        
wait()

                                        
pc.warp(89630028900)
                                
end
                        end
                end

        when 20358.chat
."OX event for GM" with pc.is_gm() begin

            local stat 
oxevent.get_status()

            if 
stat == 0 then
                say
("now: OX Event Ends")
                
say("")

                
local s select("Start Event""End")

                if 
== 1 then
                    local v 
oxevent.open()

                    if 
== 0 then
                        say
("Failed to load OX quiz, please check")
                        
say("your files and try again.")
                        
say("")
                        
say("")
                    elseif 
== 1 then
                        say
("Load OX quiz successfully.")
                        
say("Event starts!")
                        
say("")

                        
notice_all("Get ready for OX event!")
                        
notice_all("Talk to Uriel to participate")
                    else
                        
say("OX Event Error")
                        
say("")
                    
end
    end
            
elseif stat == 1 then
                    say
("now: OX Event starts")
                    
say("User count "..oxevent.get_attender().." players")
                    
say("")

                    
local s select("Close sign up""End")

                    if 
== 1 then
                        oxevent
.close()

                        
say("Now the sign up is closed you can start quiz.")
                        
say("")
                        
say("")
                    
end
            
elseif stat == 2 then
                    say
("now: OX Event sign up is closed")
                    
say("")

                    
local s select("Ask Question""Restart the Event""Close Event""End")

                    if 
== 1 then
                        local v 
oxevent.quiz(130)

                        if 
== 0 then
                            say
("Failed to start quiz")
                            
say("")
                        elseif 
== 1 then
                            say
("Start quiz successfully")
                            
say("")
                        else
                            
say("OX Event Error")
                            
say("")
                        
end
                    
elseif == 2 then
                        oxevent
.end_event()

                        
notice_all("Attention everyone!")
                        
notice_all("OX event will start again shortly")
                        
notice_all("Participants will now be teleported to the city.")

                        
say("OX Event Restart")
                        
say("")
                    elseif 
== 3 then
                        oxevent
.end_event()

                        
notice_all("OX event is over.")
                        
notice_all("Participants will now be teleported to the city.")

                        
say("End OX Event")
                        
say("")
                    
end
            
elseif stat == 3 then
                    say
("now: Loading quiz, please wait.")
                    
say("")
                    
say("")
                else
                    
say("now: Error")
                
end
            end

        when 20358.chat
."Shut Down OX Event" with pc.is_gm() begin
            say
("Force to shut down OX Event might cause problem,")
            
say("are you sure you want to continue?")
            
say("")
            
say("")

            
local s select("Yes""No")

            if 
== 1 then
                oxevent
.end_event_force()

                
say("OX Event was forced to shut down")
            
end
        end

        when 20358.chat
."Give OX event reward " with pc.is_gm() begin
            say
("Reward winners. Please enter item ID.")
            
say("")

            
local item_vnum input()

            
say("Please enter the quantitiy.")
            
say("")

            
local item_count input()

            
oxevent.give_item(item_vnumitem_count)

            
say("You reward item to "..oxevent.get_attender().."")
            
say("")
        
end
        end
end 
and Daroo Serverfiles 2 channel

Quote:
Originally Posted by socressor View Post
Look at the syserrs Serverside and post the Ox quest please^^
Quote:
Originally Posted by .CHiiLLOuT View Post
Wich Serverfiles and Post the OX Quest.