SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 12/03/2017, 04:26 PM   #31
faxxe
Big Clucker
 
faxxe's Avatar
 
Join Date: Nov 2009
Location: Brasilia
Posts: 98
Reputation: 14
Default Re: MTA -> SA-MP Map Converter v1.0 (MTA DM & MTA Race support)

Thanks.

Can you tell me where you have the part to parse the content of the XML map files? Im unable to find it right now, its exactly what i need
__________________
Hardware & software knowledge base
PAWN & C Developing inquires below, using contact form
https://science.knogleinsi.de


faxxe is offline   Reply With Quote
Old 12/03/2017, 09:12 PM   #32
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,423
Reputation: 626
Default Re: MTA -> SA-MP Map Converter v1.0 (MTA DM & MTA Race support)

https://github.com/kurta999/MapConve...erter.cpp#L125
kurta999 is offline   Reply With Quote
Old 24/03/2018, 09:52 AM   #33
StRaffael
Little Clucker
 
Join Date: Jan 2016
Posts: 1
Reputation: 0
Default Re: MTA -> SA-MP Map Converter v1.0 (MTA DM & MTA Race support)

Bro, I have some problems with your plugin:
1. HOw to compile the plugin to .dll version(windows)?
2. When I tryed your plugin on linux and the server tryes to convert a MTA map it just crashes...here's the error log(with crash detect):
Quote:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[09:06:25]
[09:06:25] Server Plugins
[09:06:25] --------------
[09:06:25] Loading plugin: crashdetect.so
[09:06:25] CrashDetect v4.15.1 is OK.
[09:06:25] Loaded.
[09:06:25] Loading plugin: streamer.so
[09:06:25]

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[09:06:25] Loaded.
[09:06:25] Loading plugin: YSF.so
[09:06:25] ARRAY_ConsoleCommands: 8196920
[09:06:25]

[09:06:25] ===============================

[09:06:25] YSF - kurta999's version R19 loaded

[09:06:25] (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999

[09:06:25] Server version: 0.3.7 R2-1

[09:06:25] Operating System: Linux

[09:06:25] Built on: Mar 13 2017 at 00:24:15

[09:06:25] ===============================

[09:06:25] Loaded.
[09:06:25] Loading plugin: MapConverter.so
[09:06:25] *** Map Converter v3.0 loaded, made by kurta999
[09:06:25] Loaded.
[09:06:25] Loaded 4 plugins.

[09:06:25]
[09:06:25] Filterscripts
[09:06:25] ---------------
[09:06:25] Loading filterscript 'MapConverter.amx'...
[09:06:25] 1 - TestConverter.map
[09:06:25] [debug] Server crashed while executing MapConverter.amx
[09:06:25] [debug] AMX backtrace:
[09:06:25] [debug] #0 native MC_LoadMap () from MapConverter.so
[09:06:25] [debug] #1 000000e0 in public OnFilterScriptInit () from MapConverter.amx
[09:06:25] [debug] Native backtrace:
[09:06:25] [debug] #0 f735fe8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[09:06:25] [debug] #1 f7358bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[09:06:25] [debug] #2 f7359dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[09:06:25] [debug] #3 f735a226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[09:06:25] [debug] #4 f735fadc in ?? () from plugins/crashdetect.so
[09:06:25] [debug] #5 f7755cb0 in __kernel_rt_sigreturn () from linux-gate.so.1
[09:06:25] [debug] #6 f76336d0 in _ZNSt6localeaSERKS_ () from /usr/lib32/libstdc++.so.6
[09:06:25] [debug] #7 f7632910 in _ZNSt8ios_base7_M_initEv () from /usr/lib32/libstdc++.so.6
[09:06:25] [debug] #8 f768bf0f in _ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15bas ic_streambufIcS1_E () from /usr/lib32/libstdc++.so.6
[09:06:25] [debug] #9 f7003901 in _Z7fexistsRKNSt7__cxx1112basic_stringIcSt11char_tr aitsIcESaIcEEE () from plugins/MapConverter.so
[09:06:25] [debug] #10 f7001060 in _ZN10CConverter7LoadMapERKNSt7__cxx1112basic_strin gIcSt11char_traitsIcESaIcEEEb () from plugins/MapConverter.so
[09:06:25] [debug] #11 f70041c5 in _Z12n_MC_LoadMapP6tagAMXPi () from plugins/MapConverter.so
[09:06:25] [debug] #12 080950e4 in ?? () from ./samp03svr
[09:06:25] [debug] #13 f735b94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[09:06:25] [debug] #14 f735e8f8 in ?? () from plugins/crashdetect.so
[09:06:25] [debug] #15 f7362916 in amx_Exec () from plugins/crashdetect.so
[09:06:25] [debug] #16 f735abe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[09:06:25] [debug] #17 f735e659 in ?? () from plugins/crashdetect.so
[09:06:25] [debug] #18 f72b64f6 in ?? () from plugins/streamer.so
[09:06:25] [debug] #19 080a12c6 in ?? () from ./samp03svr
[09:06:25] [debug] #20 080ab601 in ?? () from ./samp03svr
[09:06:25] [debug] #21 080aba0b in ?? () from ./samp03svr
[09:06:25] [debug] #22 080aa0fd in ?? () from ./samp03svr
[09:06:25] [debug] #23 f739d276 in __libc_start_main () from /lib32/libc.so.6
What can it be? Thank you very much
StRaffael is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] rMTA - Easy MTA-Race Map Converter (Scriptside) Narushi Includes 8 23/12/2014 09:27 PM
[RYDER RACE] Race problem : Cant make new Race !!! S_ILYa™ Server Support 6 25/10/2014 01:51 PM
[Map] [Tuned Cars!][Drift!][Race!][Roleplay!] Aero's Underground Race League II! Aerotactics Maps 12 03/04/2014 12:23 PM
[Race]How to get Player Position in Race (example: 3rd/10) Basss Help Archive 5 17/07/2009 09:23 PM
[Tool/Web/Other] [TOOL] Offline Map, Car and Object Converter (MTA:Race->SA-MP) Shargrat Tools and Files 2 12/05/2009 03:26 PM


All times are GMT. The time now is 04:44 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.