Jump to content

[FS]Map Converter


Guest farse

Recommended Posts

[tt]MAP CONVERTER[/tt]

By FarSe

Info:Converteste objectele si masinile dintr-o harta de  MTA(DM) in cod pawno,pentru sa-mp .A si merge si pt obiectele noi din sa-mp,adic daca le ai in mta..

Cum instalezi:

  • pui c03c.amx/.pwn in folderul filterscripts,deschizi server.cfg si scrii la filterscripts c03c
  • Mergi in scriptfiles,si creezi un folder numit maps
  • Pui in folder hartile pe care vrei sa le convertesti
  • Deschizi server
  • Scrii in consola "convert <map>",
  • Vei gasi harta in folderul maps,cu acelasi nume a harti,dar in .ini

Timp de lucru: 30 minute(incluzand plictiseala..bautu cafelei de dimineata,si o mica vizita pe pornhub..)

Thanks: leong pentru lista de obiecte folosite in mta pentru obiectele din sa-mp.

DOWNLOAD:

                        Pastebin              http://pastebin.com/A9MXWhzQ

                        SolidFiles: AMX:  http://solidfiles.com/d/4246b/

                                        PWN:  http://solidfiles.com/d/a6f1/

                        Win32Aplication: http://solidfiles.com/d/b5ca5/

Report any bugs :)

Daca nu va merge,incercati cu  asta:

http://pastebin.com/AT7hfmUP

http://solidfiles.com/d/cbae/ - e program :P


Link to comment
Share on other sites

Am implementat functia GetXMLine si pentru VB si acum fac un program de convertit harti :D ,o sa fac un serverffs offline sau/si un AdvancedConverter (de Xoti Sofrware) v2 :D

    Function GetXMLine(ByVal a As String, ByVal b As String) As String
        Dim str2 As String
        str2 = a
        Dim start, endd As Integer
        start = InStr(a,  + Len(
        endd = InStr(start + 1, str2, """") - 1
        str2 = Mid(str2, start + 1, endd - start)
        Return str2
    End Function

Exemplu: http://solidfiles.com/d/2993/

Dar acuma terbuie sa gasesc un mic algoritm sa-mi citeasca pe linii...God  damn it!

EDIT:Un teleport generator/'pos tacker' facut cu GetXMLine : http://solidfiles.com/d/9475/  :-* :-* :-*

Link to comment
Share on other sites

Poate folosesti alte id-uri..

Eu am pus id-urile pe care mi lea dat leong..

Replaced object IDs(Original object IDs in 0.3c) (Offset of the object IDs)

14383-14483(18631-18731) (-4248)

13590-13667(18732-18809) (-5142)

14500-14522(18810-18832) (-4310)

14770-14856(18833-18919) (-4063)

14858-14871(18920-18933) (-4062)

18000-18036(18934-18970) (-934)

18038-18101(18971-19034) (-933)

14872-14883(19035-19046) (-4163)

14885-14891(19047-19053) (-4162)

12835-12944(19054-19163) (-6219)

16000-16143(19164-19307) (-3164)

14892(19901) (-5009)

                                case 14383..14483: objid += 4248;

                                        case 14770..14856: objid += 4063;

                                        case 14858..14871: objid += 4062;

                                        case 18000..18036: objid += 934;

                                        case 18038..18101: objid += 933;

                                        case 14872..14883: objid += 4163;

                                        case 14885..14891: objid += 4162;

                                        case 13590..13667: objid += 5142;

                                        case 14500..14522: objid += 4310;

                                        case 12835..12944: objid += 6219;

                                        case 16000..16143: objid += 3164;

                                        case 14892: objid += 5009;

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.