Jump to content

[PROBLEM]Game Options After Teleport


Go to solution Solved by Alina,

Recommended Posts

  • Premium

Hi guys, all fine? I hope so...

I'm having an issue with game options blocks (whisper, guild etc).

I can block and unblock normally but if i block and teleport it just unblock itself, i'm searching in source but i can't find where the problem is.

Hope you guys can help me,

With the best regards,

Runah

YfEFo71.png

A new project is coming up very soon. Stay tunned.

Metin2dev Topic

Nexus2 Facebook

Nexus2 Discord

Link to comment
https://metin2.dev/topic/6180-problemgame-options-after-teleport/
Share on other sites

  • Solution

Maybe your error is no problem with the source :)

 

You can find a quest called game_option.quest

Is it running on your server?

 

quest game_option begin
state start begin
when login begin
local val=0
local msg = "Blocked function: "
 
if pc.getqf("block_exchange") == 1 then
msg = msg.."Trade "
val = val + 1
end
 
if pc.getqf("block_guild_invite") == 1 then
val = val + 4
msg = msg.."Guild "
end
 
if pc.getqf("block_messenger_invite") == 1 then
msg = msg.."Messenger "
val = val + 16
end
 
if pc.getqf("block_party_invite") == 1 then
msg = msg.."Party invitation "
val = val + 2
end
 
if pc.getqf("block_party_request") == 1 then
msg = msg.."Party Joining "
val = val + 32
end
 
if pc.getqf("block_whisper") == 1 then
msg = msg.."Short message "
val = val + 8
end
 
if val != 0 then
syschat(msg)
end
 
pc.send_block_mode(val)
end
end
end
  • Love 2
  • Former Staff

 

Hi guys, all fine? I hope so...

I'm Runah, nexus2 Founder (https://nexus2.com.pt/).

I'm having an issue with game options blocks (whisper, guild etc).

I can block and unblock normally but if i block and teleport it just unblock itself, i'm searching in source but i can't find where the problem is.

Hope you guys can help me,

With the best regards,

Runah

 

You're here looking for help or you came just to advertise your server?

I mean, for every new thread you create you say that you're the founder of nexus2 posting the website link as well.

 

At this point we all know who you are.  :D

  • Premium

It's just because was my first Post from a long time, anyway, sorry for that *Shisui* i will not put it again...

Thank you can Ken, you solved it with the Allina answer after speak on skype ^^

Allina, that was the answer! My game_option wasn't verifying that.

Really thank you both!

And again, sorry for the advertising, i will edit, i didn't know was that bad.

#Answered #Solved

With the best regards,
Runah

  • Love 2

YfEFo71.png

A new project is coming up very soon. Stay tunned.

Metin2dev Topic

Nexus2 Facebook

Nexus2 Discord

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.