[FilterScript] Fusez's Map Editor (Version 2)
#41

When I compile the media.pwn, so i become the error "fatal error 100: cannot read from file: "strlib".
I have put Strlib in the pawno/include directory.
Reply
#42

Nice release, again.

I like textdraw version, but its cool, too!

rep++
Reply
#43

PHP код:
mapedit/functions/anims.pwn(19) : error 017undefined symbol "isempty"
mapedit/functions/anims.pwn(39) : error 017undefined symbol "isempty"
mapedit/functions/textures.pwn(44) : error 017undefined symbol "isempty"
mapedit/functions/fonts.pwn(22) : error 017undefined symbol "isempty"
mapedit/functions/objmodels.pwn(40) : error 017undefined symbol "isempty"
mapedit/functions/skins.pwn(22) : error 017undefined symbol "isempty"
mapedit/functions/vehmodels.pwn(22) : error 017undefined symbol "isempty"
mapedit/functions/objcolors.pwn(23) : error 017undefined symbol "isempty"
mapedit/functions/vehcolors.pwn(23) : error 017undefined symbol "isempty"
mapedit/functions/actor.pwn(85) : error 017undefined symbol "isempty"
mapedit/functions/mparse.pwn(137) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(144) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(161) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(181) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(213) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(228) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(229) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(230) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(231) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(269) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(270) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(271) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(299) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(313) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(330) : error 017undefined symbol "strtrim"
mapedit/functions/mparse.pwn(331) : error 017undefined symbol "strtrim"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

Help
Reply
#44

Just asking, Why didn't you upload the amx with pwn file too?
Reply
#45

Quote:
Originally Posted by Ritzy
Посмотреть сообщение
Just asking, Why didn't you upload the amx with pwn file too?
i dont think its allowed to upload compiled code. I remember reading that somewhere on the forum. If it is allowed then i will include it because it would make this script easier to use for a lot of people!
Reply
#46

please help me, I compile everything, but when I enter the game is normal "grand larceny", did not give any error when compiling what happened?

// I'm Brazilian may have errors above
Reply
#47

Quote:
Originally Posted by VictorMM
Посмотреть сообщение
please help me, I compile everything, but when I enter the game is normal "grand larceny", did not give any error when compiling what happened?

// I'm Brazilian may have errors above
Have you tried with a blank gamemode? There might be issues with return values in the gamemode callbacks.
Reply
#48

I use the "grand larceny", which comes in the server files
Reply
#49

Quote:
Originally Posted by VictorMM
Посмотреть сообщение
I use the "grand larceny", which comes in the server files
Did you try another gamemode? There could be something wrong with the return values in the callbacks.

Quote:
Originally Posted by Mivco
Посмотреть сообщение
Help
You need to put strlib by Slice in your pawno includes. Then try compiling again!
Reply
#50

yes, the bare script that also comes with the samp server
Reply
#51

Yes, the null script that also comes with the samp server and other gamemodes I have here, did not work, you could have some gm that you tested or even a gm with FS already installed (I know you're asking for more): D
Reply
#52

Are you using any other filterscripts than the mapeditor?
What does it say in your console window when you load the map editor?
Reply
#53

Quote:
Originally Posted by RedFusion
Посмотреть сообщение
Are you using any other filterscripts than the mapeditor?
What does it say in your console window when you load the map editor?
yes,none FS

Reply
#54

pawn Код:
#include <a_samp>

main() {}

public OnGameModeInit() {
    UsePlayerPedAnims();

    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnGameModeExit() {
    return 1;
}

public OnPlayerRequestClass(playerid, classid) {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1968.3783, 1344.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}

public OnPlayerConnect(playerid) {
    return 1;
}

public OnPlayerDisconnect(playerid, reason) {
    return 1;
}

public OnPlayerSpawn(playerid) {
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason){
    return 1;
}

public OnVehicleSpawn(vehicleid) {
    return 1;
}

public OnVehicleDeath(vehicleid, killerid) {
    return 1;
}

public OnPlayerText(playerid, text[]) {
    return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) {
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid) {
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate) {
    return 1;
}

public OnPlayerEnterCheckpoint(playerid) {
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid) {
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid) {
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid) {
    return 1;
}

public OnRconCommand(cmd[]) {
    return 1;
}

public OnPlayerRequestSpawn(playerid) {
    return 1;
}

public OnObjectMoved(objectid) {
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid) {
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid) {
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid) {
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid) {
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2) {
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row) {
    return 1;
}

public OnPlayerExitedMenu(playerid) {
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) {
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success) {
    return 1;
}

public OnPlayerUpdate(playerid) {
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid) {
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid) {
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid) {
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid) {
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
    return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source) {
    return 1;
}
Try this! Paste this code into pawno and save it in your gamemodes folder, compile it, then add it to gamemode0 in your server.cfg.
Reply
#55

Quote:
Originally Posted by RedFusion
Посмотреть сообщение
pawn Код:
#include <a_samp>

main() {}

public OnGameModeInit() {
    UsePlayerPedAnims();

    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnGameModeExit() {
    return 1;
}

public OnPlayerRequestClass(playerid, classid) {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1968.3783, 1344.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}

public OnPlayerConnect(playerid) {
    return 1;
}

public OnPlayerDisconnect(playerid, reason) {
    return 1;
}

public OnPlayerSpawn(playerid) {
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason){
    return 1;
}

public OnVehicleSpawn(vehicleid) {
    return 1;
}

public OnVehicleDeath(vehicleid, killerid) {
    return 1;
}

public OnPlayerText(playerid, text[]) {
    return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) {
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid) {
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate) {
    return 1;
}

public OnPlayerEnterCheckpoint(playerid) {
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid) {
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid) {
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid) {
    return 1;
}

public OnRconCommand(cmd[]) {
    return 1;
}

public OnPlayerRequestSpawn(playerid) {
    return 1;
}

public OnObjectMoved(objectid) {
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid) {
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid) {
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid) {
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid) {
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2) {
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row) {
    return 1;
}

public OnPlayerExitedMenu(playerid) {
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) {
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success) {
    return 1;
}

public OnPlayerUpdate(playerid) {
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid) {
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid) {
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid) {
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid) {
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
    return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source) {
    return 1;
}
Try this! Paste this code into pawno and save it in your gamemodes folder, compile it, then add it to gamemode0 in your server.cfg.
remains the same, only the normal server
Reply
#56

Can someone give me the installed-working map editor PLZ? PM me a link.
Reply
#57

Quote:
Originally Posted by VictorMM
Посмотреть сообщение
yes,none FS

The problem isn't in his Gamemode the problem is that he's not loading the sscanf plugin
Код:
plugins sscanf
Add this to your server.cfg and also don't forgot to add sscanf plugin which is same as the version of your include (by which you compile)
Reply
#58

mapedit/variables/actor.pwn(13) : error 017: undefined symbol "MAX_ACTORS"
mapedit/hooks/object.pwn(2 : error 017: undefined symbol "GetPlayerPoolSize"
mapedit/hooks/vehicle.pwn(2) : warning 202: number of arguments does not match definition
mapedit/hooks/vehicle.pwn(1) : warning 203: symbol is never used: "addsiren"
mapedit/hooks/vehicle.pwn(25) : error 017: undefined symbol "GetPlayerPoolSize"
mapedit/hooks/actor.pwn(2) : error 017: undefined symbol "CreateActor"
mapedit/hooks/actor.pwn(3) : error 017: undefined symbol "INVALID_ACTOR_ID"
mapedit/hooks/actor.pwn(1) : warning 203: symbol is never used: "Rotation"
mapedit/hooks/actor.pwn(1) : warning 203: symbol is never used: "Z"
mapedit/hooks/actor.pwn(1) : warning 203: symbol is never used: "Y"
mapedit/hooks/actor.pwn(1) : warning 203: symbol is never used: "X"
mapedit/hooks/actor.pwn(23) : error 017: undefined symbol "DestroyActor"
mapedit/hooks/actor.pwn(25) : error 017: undefined symbol "GetPlayerPoolSize"
mapedit/hooks/actor.pwn(31) : error 017: undefined symbol "INVALID_ACTOR_ID"
mapedit/hooks/actor.pwn(36) : error 017: undefined symbol "INVALID_ACTOR_ID"
mapedit/hooks/pickup.pwn(26) : error 017: undefined symbol "GetPlayerPoolSize"
mapedit/functions/float.pwn(36) : error 017: undefined symbol "GetActorPos"
mapedit/functions/textures.pwn(11) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/textures.pwn(31) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/textures.pwn(55) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/fonts.pwn(33) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/objmodels.pwn(29) : error 017: undefined symbol "db_get_field_float"
mapedit/functions/objmodels.pwn(51) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/skins.pwn(33) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/vehmodels.pwn(33) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/objcolors.pwn(11) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/objcolors.pwn(34) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/vehcolors.pwn(11) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/vehcolors.pwn(34) : error 017: undefined symbol "db_get_field_int"
mapedit/functions/actor.pwn(13) : error 017: undefined symbol "GetActorPos"
mapedit/functions/actor.pwn(14) : error 017: undefined symbol "GetActorFacingAngle"
mapedit/functions/actor.pwn(17) : error 017: undefined symbol "INVALID_ACTOR_ID"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.




?
Reply
#59

Quote:
Originally Posted by DeathReaper
Посмотреть сообщение
Cant compile it.

-------------------------------------------------------------------------------------------------------

Looks awesome, cant use it. Can anyone upload the whole FOLDER which has everything in it including samp-server.exe so I can just run the server without doing anything. I am asking for already compiled version of Map editor v2.

Texture studio is better in this case I must say, its very easy to compile and load.
YES PLEASE
Reply
#60

Why saved map files don't have anything inside?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)