DazzaJay Posted January 14, 2008 Posted January 14, 2008 Hi, i was just wondering if somone is able to make a modified verson of the Webmap script, that can be shown to the public in a frame on my website. this would also need the "send message to player" feature removed from it also. Thanks in advance to anyone who is able to do this.
XetaQuake Posted January 14, 2008 Posted January 14, 2008 hi, look here: viewtopic.php?f=87&t=21471 i have the same desire, also with the scoreboard pleas help us
DazzaJay Posted January 14, 2008 Author Posted January 14, 2008 yeah mate, thats good. if not too hard for somone can we get a webmap script modification, so it can be publicly shown, also the scoreboards, and also the Server Statistics? (in 3 seperate 's ofcourse, as i would like to have different sections on my site set up for it.) Thanks in advance to anyone who can pull this off.
XetaQuake Posted January 14, 2008 Posted January 14, 2008 yea that sounds good DazzaJay! i need also this 3 things! (the Server Statistics is not so important for me)
DazzaJay Posted January 15, 2008 Author Posted January 15, 2008 Can anyone convert it to be public? as i have allready set up a place on my website for it: http://www.potholestudios.com/Content/pid=36.html thanks in advance to the genious who can pull this off.
XetaQuake Posted January 18, 2008 Posted January 18, 2008 DazzaJay you have getting it working? what have you make? i see it on your page
DazzaJay Posted January 18, 2008 Author Posted January 18, 2008 all i did was put the map.htm in a frame, so you can see the map, but its not working, i did that as a "demo" because people often mis-understand what im trying to say. i sent a PM to eAi (the creator of the webmap.....) and heres the PM. i noticed in the admin panel that you are the creator of the "Webmap" feature of DM.and i was wondering, what would be involved (and also how to do it) in removing the "chat to player" box, and also making the live webmap viewable to the General Public in an of a website. (like this http://www.potholestudios.com/Content/pid=36.html except with the live updating player icons that you see in the admin menu.) Thanks. -Dan I don't have time to modify it myself, but you can easily remove the chat box by modifying the javascript file in webmap and removing the exported function that it calls from the meta.xml. i would really like to say i understand what hes saying... but i dont. as for modifying the javascript... i tried opening it in notepad and its just random code..... and i dont know enough about either of them to work it out.
XetaQuake Posted January 18, 2008 Posted January 18, 2008 hmm, yes but whats want to change to make it public and working?
eAi Posted January 19, 2008 Posted January 19, 2008 I'd emphasise that webmap was really a proof of concept and that it's not amazingly well coded. You could do a much better job yourself in a few hours if you know Javascript and LUA. I'd also point out that the server hosting the images is not that fast, you might want to host your own images using tilecache (free, open source).
DazzaJay Posted January 19, 2008 Author Posted January 19, 2008 I'd emphasise that webmap was really a proof of concept and that it's not amazingly well coded. You could do a much better job yourself in a few hours if you know Javascript and LUA. I'd also point out that the server hosting the images is not that fast, you might want to host your own images using tilecache (free, open source). i would have done so if i knew anything about javascript or LUA, but sadly, i know bugger all about LUA.... hell, i know how to...... auctually, anything i know with LUA ive had to copy from somewhere else and make verry verry basic modifications to do what ive wanted... and javascript..... al i know about it is that notepad dosent open the files. so im fucked ether way. as i have asked in a lot of threads "how to do somthing that way out of my leigue" and i have made it clear that i know nothing, and people allways give awnsers that make absolutley no sence to me. and its really just confusing me. and i have no idea where to start with anything.
TmM_DEVIL Posted January 19, 2008 Posted January 19, 2008 i would also like this for my site i am building
Woovie Posted January 20, 2008 Posted January 20, 2008 If you would like, here is a better map. 2 different ones, labeled and unlabeled. Blank - http://ian-albert.com/misc/gamemaps/gta ... nk-1.0.jpg Labeled - http://ian-albert.com/misc/gamemaps/gta ... ll-1.0.jpg It will look a lot nicer =)
XetaQuake Posted January 20, 2008 Posted January 20, 2008 the link dont work because the hoster have hotlinking deactivated here is the index: http://www.ian-albert.com/misc/gtasa.php by the way: What does that with the topic to do? but thx for the link
TmM_DEVIL Posted January 23, 2008 Posted January 23, 2008 any news on this has some one made it work yet
The_Stig Posted April 2, 2008 Posted April 2, 2008 Any luck with this yet? Trying to do it myself but not getting far lol
Cazomino05 Posted April 2, 2008 Posted April 2, 2008 (edited) If you would like, here is a better map. 2 different ones, labeled and unlabeled.Blank - http://ian-albert.com/misc/gamemaps/gta ... nk-1.0.jpg Labeled - http://ian-albert.com/misc/gamemaps/gta ... ll-1.0.jpg It will look a lot nicer =) thats already an option at the side theres a - click it and theres option for radar or normal EDIT: as for the idea it might require more than editing web map since web admin and all that don't check independently if you are admin which results in people being able to start and stop resources EDIT 2: if you really do need this i have uploaded an edited webmapthat doesn't have the chat you will need to edit your acl's so you can use a frame to embed it on a page http://cazomino05.com/webmap.zip EDIT 3: i guess i should tell you how to do that lol open your acl look for change to EDIT 4: if you have any web scripts like resourcebrowser resourceadmin or anything like that you will probably need to disable them Edited April 2, 2008 by Guest
XetaQuake Posted April 2, 2008 Posted April 2, 2008 when it works good, pleas upload it on MTA community as a resource =)
Cazomino05 Posted April 2, 2008 Posted April 2, 2008 Alright 50p just told me how to get around this edit your default acl group adding add this to any groups you want to be able to see theese resources then my modifyed resource of the webmap script can be found at http://cazomino05.com/webmap.zip if you are really lazy and haven't edited your acl or just want an example i also uploaded an example acl here: http://cazomino05.com/acl.xml You can view the map at http://serverip:httpport/webmap/map.htm for example http://127.0.0.1:22005/webmap/map.htm It is also available at https://community.multitheftauto.com/index.php?p= ... anddescr=1
eAi Posted April 2, 2008 Posted April 2, 2008 I created webmap very quickly, really as a proof of concept. You're welcome to improve it, if you'd like alternative images hosted for it, send them to me and I can put them on the map server.
The_Stig Posted April 2, 2008 Posted April 2, 2008 Great work. Works great I assume i can do the same for the scoreboard? Cheers
DazzaJay Posted April 2, 2008 Author Posted April 2, 2008 Oh man, that is Phatt! Thanks a Million! http://www.potholestudios.com/Content/pid=36.html
The_Stig Posted April 2, 2008 Posted April 2, 2008 Heres my effort http://clan-mgc.com/index.php?page=7 I changed the blips on the map as the white ones were a bit tricky to see. Thanks all for making this happen
DazzaJay Posted April 2, 2008 Author Posted April 2, 2008 itsa a little short mate. ive noticed when putting crap in an iframe, its best to have width as a % and the Height as an auctual pixel number.. the code for mine is <iframe src="http://mta.potholestudios.com:33551/webmap/map.htm" width="100%" height="640"></iframe> that way it stretches to fit the width of the web page, and does not end up only 20 pixels high.
The_Stig Posted April 2, 2008 Posted April 2, 2008 itsa a little short mate.ive noticed when putting crap in an iframe, its best to have width as a % and the Height as an auctual pixel number.. the code for mine is <iframe src="http://mta.potholestudios.com:33551/webmap/map.htm" width="100%" height="640"></iframe> that way it stretches to fit the width of the web page, and does not end up only 20 pixels high. Yeah i was making mods to it when you must have looked at it lol Better now Added the scoreboard to it as well.
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