AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Error compiling Warcraft3 MOD (https://forums.alliedmods.net/showthread.php?t=76548)

Klockrent 08-26-2008 14:01

Error compiling Warcraft3 MOD
 
I downloaded Warcraft 3 MOD and chose warcraft3_2.6.3_sql_expanded.zip.

I have put wacraft3.amxx into plugins.ini, started the server and everything works fine, except "Changerace, war3menu, playerskills, skillsinfo" doesn't work at all.

I have looked through the .cfg i got along (Need to recompile when i change anything) and i haven't found any MySQL settings in there that i can point to my MySQL, you know, the DB name, password and all that.

My MySQL works for Warcraft3 Frozen Throne plugin and my other sites that i have in my MySQL database.

Anyway, when i changed in .cfg, i put the .cfg and .sma into a folder and tried to compile it, but i got some error:

error 033: array must be indexed (variable "bDwarfAmmo")

The .sma and .cfg is freshly from the .zip and i haven't tried to do anything with it other than put different numbers (like "Allow expanded races 1")

[img]http://img170.**************/img170/7322/screenshotmv8.jpg[/img]

The line which the error seems to be is:

public dwarf_reloaddone(iParm[3])
{
if(is_user_connected(iParm[0]) && bDwarfAmmo[iParm[0]] && is_valid_ent (iParm[2]))
{

Help is awesomnessly welcome :) ..

I think i got every fact straight.


All times are GMT -4. The time now is 03:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.