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

Error Source

Pongo Metin2


metin2dev Hi I have a cmd error emotion tells me but I did not put brackets we put
I do not speak English well I hope you do not mind my English marsh


  if (victim)
		if (victim->IsBlockMode(BLOCK_EMOTION_REQUEST)
			ch->ChatPacket(CHAT_TYPE_INFO, "%s is blocked emotion requests", victim->GetName());
		LPDESC pkVictimDesc = victim->GetDesc();
		if (pkVictimDesc)
			TPacketGCWhisper pack;

			char msg[450];
			sprintf(msg, "You challenged %s for a emotion.", ch->GetName());

			int len = MIN(CHAT_MAX_LEN, strlen(msg) + 1);

			pack.bHeader = HEADER_GC_WHISPER;
			pack.wSize = sizeof(TPacketGCWhisper)+len;
			pack.bType = WHISPER_TYPE_SYSTEM;
			strlcpy(pack.szNameFrom, ch->GetName(), sizeof(pack.szNameFrom));

			TEMP_BUFFER buf_wh;

			buf_wh.write(&pack, sizeof(TPacketGCWhisper));
			buf_wh.write(msg, len);

			ch->PacketAround(buf_wh.read_peek(), buf_wh.size());
s not declared in this scope
cmd_emotion.cpp:258: error: expected `)' before '{' token
cmd_emotion.cpp:264: error: 'pkVictimDesc' was not declared in this scop
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Activity

    1. 0

      erorrs after update granny to 2.9

    2. 0

      Navicat Premium 16.1.1 x64

    3. 5

      problem Dargon Soul Changre Attribute

    4. 5

      problem Dargon Soul Changre Attribute

    5. 41

      Global Chat

    6. 5

      problem Dargon Soul Changre Attribute

    7. 2

      Startup Loading Window Library

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.