←  Prośby o kompilacje pluginów / Problemy z kompilacją

AMXX.pl: Support AMX Mod X i SourceMod

»

Problem z kodem Zombie Klasy

  • +
  • -
KuczoR's Photo KuczoR 13.09.2012

Witam mam pewien problem a mianowice wywala mi błąd przy kompilowaniu klas do zombie plague moda 5.0.5.
Próbowałem już kompilować na waszej stonie i przez program kompiler lecz nadal to samo :(
Chciałem je skompilować tylko aby mieć nowe modele zombi i nazwy lecz nici z tego.

Wywala takie coś:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team

zp50_class_zombie_classic.sma(13) : fatal error 100: cannot read from file: "zp50_class_zombie"

Compilation aborted.
1 Error.

A to jest chyba potrzebne bo w pliku sma klasy jest tak:

/*================================================================================
	
	-----------------------------------
	-*- [ZP] Class: Zombie: Classic -*-
	-----------------------------------
	
	This plugin is part of Zombie Plague Mod and is distributed under the
	terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
	
================================================================================*/

#include <amxmodx>
#include <zp50_class_zombie>

// Classic Zombie Attributes
new const zombieclass1_name[] = "L4D Horda"
new const zombieclass1_info[] = "[Zbalansowany] Typowy Przedstawiciel Zombie"
new const zombieclass1_models[][] = { "L4D_Horda_Classic" }
new const zombieclass1_clawmodels[][] = { "models\L4D_Hands\L4D_Horda_Classic_Hands/v_zombiehands_uvazquez.mdl" }
const zombieclass1_health = 1800
const Float:zombieclass1_speed = 0.75
const Float:zombieclass1_gravity = 1.0
const Float:zombieclass1_knockback = 1.0

new g_ZombieClassID

public plugin_precache()
{
	register_plugin("[ZP] Class: Zombie: Classic", ZP_VERSION_STRING, "ZP Dev Team")
	
	new index
	
	g_ZombieClassID = zp_class_zombie_register(zombieclass1_name, zombieclass1_info, zombieclass1_health, zombieclass1_speed, zombieclass1_gravity)
	zp_class_zombie_register_kb(g_ZombieClassID, zombieclass1_knockback)
	for (index = 0; index < sizeof zombieclass1_models; index++)
		zp_class_zombie_register_model(g_ZombieClassID, zombieclass1_models[index])
	for (index = 0; index < sizeof zombieclass1_clawmodels; index++)
		zp_class_zombie_register_claw(g_ZombieClassID, zombieclass1_clawmodels[index])
}

Proszę pomóżcie skompilować 6 klas.
Pozdrawiam :)
Kawon (13.09.2012 11:38):
Kod w postach (np. źródło pluginu) umieszczaj w odpowiednich tagach (code/php/spoiler itp), a powyżej 200 linijek tylko w załączniku lub na wklejce.

Attached Files

Quote

Nightmare *'s Photo Nightmare * 13.09.2012

4 Klasy skompilowane z 2 jest blad złóż nowy temat w scripting/problemy

http://speedy.sh/CDb4b/zp.rar
Quote

  • +
  • -
KuczoR's Photo KuczoR 13.09.2012

4 Klasy skompilowane z 2 jest blad złóż nowy temat w scripting/problemy

zp.rar - Speedy Share - upload your files here


Wielkie dzięki Subek :)
Na prawdę dzięki :)
Quote

  • +
  • -
Kawon's Photo Kawon 13.09.2012

Automatyczna wiadomość


Ten temat został przeniesiony z forum

HLDS > Problemy

do

Scripting AMXX > Prośby o kompilacje pluginów / Problemy z kompilacją
Quote

  • +
  • -
KuczoR's Photo KuczoR 13.09.2012

Mam pytanko, mógł by ktoś kto się zna rzucić okiem na te błędy w kodzie i naprawić te klasy tak aby można było je poprawnie skompilować ? Byłbym bardzo wdzięczny jak można było by prosić aby ktoś skompilował to też od razu.
W załącznikach jeszczę raz podaję te dwie klasy z błędem bo tamte cztery już działają.
Pozdrawiam.

Attached Files

Quote