Jump to content
×
×
  • Create New...
  • 0

[PROBLEM]Game Options After Teleport


Runah

Question

  • 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
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0
  • Moon

When your character is warp to another map, system is re-loading everything again. you are probably find that in input_login.cpp

 

Kind Regards

Ken

  • Love 1

Do not be sorry, be better.

Link to comment
Share on other sites

  • 0
  • 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

Link to comment
Share on other sites

  • 0
  • 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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.