troglodite Posted April 2, 2013 Author Share Posted April 2, 2013 Hello! I insert this code: ["map-tile-animations-client-does-all-the-work](http://www.touchofdeathforums.com/community/index.php?/topic/127116-map-tile-animations-client-does-all-the-work/)" to my gameI read that I have to delete maps, but searching I found the Erwin Map Convertor,so I try to convert the maps for dont delete them (I have 200+)I edit the MapConvertor code for insert new data into the new mapsIn _Mod Enumeration_ I paste this```' Layers in a mapPublic Enum MapLayerGround = 1MaskMask2FringeFringe2MaskAnimFringeAnim' Make sure Layer_Count is below everything elseLayer_CountEnd Enum```(I added _MaskAnim_ and _FringeAnim_)I compile, I convert the old maps, I reemplace the new maps, and when I run the server.exe, it gives me a run time error![](http://i47.tinypic.com/99qwli.gif)>! ```ResourceCache(mapnum).ResourceData(Resource_Count).cur_health = Resource(Map(mapnum).Tile(x, y).Data1).health```**Please Help!!** Link to comment Share on other sites More sharing options...
abhi2011 Posted April 2, 2013 Share Posted April 2, 2013 Run within the IDE. (Press ctrl+f5)Let the error occur. A box is shown. Click on debug. The line erroring is highlighted. Paste that line here. Link to comment Share on other sites More sharing options...
troglodite Posted April 2, 2013 Author Share Posted April 2, 2013 > Run within the IDE. (Press ctrl+f5)> > Let the error occur. A box is shown. Click on debug. The line erroring is highlighted. Paste that line here.Yeah I forget, Its a very know error when you add new layers, but I guessed that the Map convertor can fix it(Added the line in the first post, in spoiler) Link to comment Share on other sites More sharing options...
damian666 Posted April 2, 2013 Share Posted April 2, 2013 i believe that there was a easy solution, you keep the loading of maps to the old way, but save the maps with the new way, then you shut it down, and also make the loading the new way, then it should work, you let the server convert it sort of speak ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 2, 2013 Author Share Posted April 2, 2013 > i believe that there was a easy solution, you keep the loading of maps to the old way, but save the maps with the new way, then you shut it down, and also make the loading the new way, then it should work, you let the server convert it sort of speak ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)HUM O_O I can not understand at all… and the big problem is that when I run the new server.exewith the code of the animation layers it gives me the error, so... aww ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png) Link to comment Share on other sites More sharing options...
damian666 Posted April 2, 2013 Share Posted April 2, 2013 well, if you still have a OLD server, i could try for you, no promises though…i need old server with old maps, and source code ofcourse, else i cant get it done period .basicly what you do, is load the old maps with the old way, because that doesnt error, but you modify the server to store the maps in the new way.then you turn it off, modify the loading also to the new way, and in theory, it should work ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 2, 2013 Author Share Posted April 2, 2013 > well, if you still have a OLD server, i could try for you, no promises though…> > i need old server with old maps, and source code ofcourse, else i cant get it done period .> > basicly what you do, is load the old maps with the old way, because that doesnt error, but you modify the server to store the maps in the new way.> > then you turn it off, modify the loading also to the new way, and in theory, it should work ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)**is load the old maps with the old way** = turn on the server (doble click on server.exe)?**but you modify the server to store the maps in the new way** = what??**then you turn it off** = turn of server.exe (close server.exe)?**modify the loading also to the new way** = uh??This is what I dont get ![:unsure:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/unsure.png) Link to comment Share on other sites More sharing options...
damian666 Posted April 2, 2013 Share Posted April 2, 2013 yeah sorry, but if you dont get that, i cant explain it either xdmy offer stands, but if you dont wanna give out your files, i understand ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
achap89 Posted April 3, 2013 Share Posted April 3, 2013 Erase ur map folder files then it should work. Link to comment Share on other sites More sharing options...
damian666 Posted April 3, 2013 Share Posted April 3, 2013 no offence mate, but if you would have read, you would have seen he has 200+ maps, so thats no option ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
damian666 Posted April 3, 2013 Share Posted April 3, 2013 hmm, i just went ahead and took a looksie at the converter, did you make this?```' Layers in a mapPublic Enum OldMapLayer Ground = 1 Mask Mask2 Fringe Fringe2 ' Make sure Layer_Count is below everything else Layer_CountEnd Enum' Layers in a mapPublic Enum MapLayer Ground = 1 Mask Mask2 Fringe Fringe2 MaskAnim FringeAnim ' Make sure Layer_Count is below everything else Layer_CountEnd Enum``` Link to comment Share on other sites More sharing options...
troglodite Posted April 3, 2013 Author Share Posted April 3, 2013 No, but I still cant get on the server.exe with the code added ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png)And well, If you can help, I have no problem giving you the server ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)But you want the server with animation layers coded? Or clean?(I guess that you want client+server, I can give you both, clean or coded) Link to comment Share on other sites More sharing options...
damian666 Posted April 3, 2013 Share Posted April 3, 2013 clean, so i can try myself, no offence, but that way i know what has been done or not ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 3, 2013 Author Share Posted April 3, 2013 Nice, I send to you a PM ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
damian666 Posted April 3, 2013 Share Posted April 3, 2013 and done, i send it in pm ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 3, 2013 Author Share Posted April 3, 2013 Thx for your help mate!! but ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png) when I change to others maps, this happen:![](http://i46.tinypic.com/acbxbs.jpg)and I added the full graphics ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png) Link to comment Share on other sites More sharing options...
damian666 Posted April 3, 2013 Share Posted April 3, 2013 delete your client side maps ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)it still has old ones ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)![](http://freemmorpgmaker.com/uploadfiles/b7c2edac17da0ff1f3e0d8515047cfb9.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 3, 2013 Author Share Posted April 3, 2013 OH WELL!!It works!!! thx you buddy!! ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)I´ll try to add more mask anim for make better animations on map n_n coz: I see that I can makean animation with 2 frames (Mask+MaskAnim), so do you think that with another MaskAnim will worklike an animation with 3 frames? (Mask+MaskAnim1+MaskAnim2) ? ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)psd: SO the maps on client aren´t very important, the really important maps are in the server side… ![:o](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/ohmy.png) Link to comment Share on other sites More sharing options...
damian666 Posted April 3, 2013 Share Posted April 3, 2013 ![](http://freemmorpgmaker.com/uploadfiles/4c3a6d4b59bd2c8e32a8bd709d9239c8.png)fine on my end… Link to comment Share on other sites More sharing options...
damian666 Posted April 3, 2013 Share Posted April 3, 2013 i would'nt do that, maps get bigger with more layers.client are just copies. Link to comment Share on other sites More sharing options...
troglodite Posted April 3, 2013 Author Share Posted April 3, 2013 Its Ok then ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)RESOLVED! Link to comment Share on other sites More sharing options...
achap89 Posted April 3, 2013 Share Posted April 3, 2013 > no offence mate, but if you would have read, you would have seen he has 200+ maps, so thats no option ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)sorry man, was tired when I read it so I must of missed it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now