Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 21:37

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



40k game npc.kill Fehler

Discussion on 40k game npc.kill Fehler within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1


 
elite*gold: 6
Join Date: Aug 2009
Posts: 1,611
Received Thanks: 859
40k game npc.kill Fehler

Hey Leute.. Bei der 40k Game wird der "npc.kill" Befehl doppelt ausgeführt.
Habe gesehen, dass es einen Fix dafür gibt, allerdings funktioniert der dif Patch nicht. Am besten wäre der Fix in der Source.

Quest:



Fehler:



Source snippet:

Code:
int npc_kill(lua_State * L)
 {
  CQuestManager& q = CQuestManager::instance();
  LPCHARACTER ch = q.GetCurrentCharacterPtr();
  LPCHARACTER npc = q.GetCurrentNPCCharacterPtr();

  ch->SetQuestNPCID(o);
  if (npc)
  {
   npc->Dead();
  }
  return 0;
 }
.ŋight is offline  
Old 06/29/2014, 03:38   #2
 
elite*gold: 0
Join Date: Jun 2014
Posts: 226
Received Thanks: 45
Adde mich mal in Skype bastian.siebrecht ich glaube ich habe da was für dich was dir helfen könnte
Dayma aka Verox is offline  
Old 06/29/2014, 03:41   #3
 
#Kajo's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 598
Received Thanks: 441
Benutz anstatt npc.kill -> npc.get_race()
damit sollte es gehen.
#Kajo is offline  
Old 06/29/2014, 14:20   #4


 
elite*gold: 6
Join Date: Aug 2009
Posts: 1,611
Received Thanks: 859
Quote:
Originally Posted by #Kajo View Post
Benutz anstatt npc.kill -> npc.get_race()
damit sollte es gehen.
Das macht doch keinen Sinn? o.O npc.get_race() ermittelt die Rasse und gibt keine Auskunft darüber, ob man jemanden tötet. Außerdem kann es nicht bei "when npc.get_race() begin" benutzt werden.
.ŋight is offline  
Old 06/29/2014, 19:51   #5

 
elite*gold: 105
Join Date: Aug 2011
Posts: 1,065
Received Thanks: 494
Klar when kill with npc.get_race () == MOBID begin oder when kill with npc.is_pc () begin
x'Radon is offline  
Thanks
1 User
Old 06/30/2014, 02:29   #6


 
elite*gold: 6
Join Date: Aug 2009
Posts: 1,611
Received Thanks: 859
when kill with npc.is_pc() ist ja verbuggt. Ist aber egal, habe es anders gelöst.
.ŋight is offline  
Reply


Similar Threads Similar Threads
[Game 34083] Kill BUG
04/25/2014 - Metin2 Private Server - 4 Replies
Hello epvpers! Well, while i was testing some quests i made in my server with kill in it, and i discovered this big bug! When you kill, it happens like 2 times instead of 1! Example in quest: when kill with npc.is_pc() then say("You Killed")
[HILFE]Core Fehler game 61 und game 99 in VPC nach hochfahren?!
06/25/2011 - Main - 1 Replies
Hallo Leute ich habe eine kleines Problem und zwar wollte ich in eine map npc's hinstellen und ich hatte ein paar quests gelöscht (auch von der hongkong_list und ich habe auch cd /usr/rain/channel usw. eingegeben um quests zu aktualisieren) und naja wenn ich jetz den server starte sieht es erst so aus als wenn er normal hochgefahren ist aber dann kurze zeit später kommt: mv : rename ./game core game99: no such file direction aber nur und so änhliche mehrmals hintereinander :confused: ich tu...
Kill Mark [Fehler]
12/19/2010 - CrossFire - 4 Replies
Hey also wenn ich jemanden kille sieht das irgendwie verschiebt aus hier mal ein screen : ImageShack® - Online Photo and Video Hosting kann mir da jemand helfen?
Kill Game Guard
09/12/2010 - Flyff - 1 Replies
Hello, I'm trying to play Flyff on Linux (ubuntu) has put a bug in the Game Guard, I wonder if you have any way to kill the game guard. Thanks! Powered by Google Translator
Ever wanted to kill a GM, VGM, or game mod??
04/20/2009 - Dekaron - 1 Replies
Ah, yeah just thought this would be fun for the noobs and non noobs who have gotten banned and what not lool XD. Anyhow here it is Trieste server guild DIE website Welcome To DiEClan Unlimited. When your at the site click forums, then member list.. Scroll down a bit and view the members, Some are normal people some are 2moons mods some are vgms and some are gms.. It was shown to me by a former member of die that caught them doing some really fun things :D...... Anyhow, all of you who hate the...



All times are GMT +1. The time now is 21:37.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.