Jump to content

[BUG] center should not allow 26+ characters long mapnames


Recommended Posts

center should not allow uploads of map names with more than 26(+4 for .map) characters .. or anyway center should handle uploads better

i found this since i had 3400 maps in server and 3500 files in map folder

and saw a lot of files with unknown filetype

i figured it was bugged because of user error .. but no

the map editor seems to be able to create long filenames (havent tried how long tho) .. and people upload those and the first 30 characters get saved of a filename

i found that since i tried to change all names in one go by adding the .map extention - i f*** up and was unable to undo damage.. and deleted all maps with bad extention and reloaded the rss downloader

this gave a nice overview

[snip]
Downloading small way to get off the polic... Done
Downloading Crooks oh noes another bridge... Done
Downloading crasy race?!!?!?!?.map... Done
Downloading BlackVipers Massive Assault.ma... Done
Downloading Akademia  Bezpiecznej  Jazdy.m... Done
Downloading 10 Roads to god by The (MM)Tea... Done
Downloading Airport Deathmatch By P.A.N.I.... Done
Downloading Freefall 01 By P.A.N.I.C.S..ma... Done
Downloading Boat Bobsleigh By P.A.N.I.C.S.... Done
Downloading The Green Green Glass OLD VERS... Done
Downloading BATTLEFIELD SAN ANDREAS by cod... Done
Downloading No Escape Arena CopsNrobbers.m... Done
Downloading Bloodring Derby - LS drainage... Done
Downloading MG1989s Escape from Area 69.ma... Done
Downloading Venturas Getaway(cops+robbers)... Done
Downloading Flat Out & Airport Dogfight.ma... Done
Downloading [/snip]

and noticed it all had 30 characters - beside one or tho that had a space on 30th position

so this made me think the rss map downloader is screwed

but after one simple test

uploaded

\this map name should not be accepted by center.mtasa.com it will totally suck if it does.map

i got

30bitsite.JPG

and of course

Downloading this map name should not be ac... Done

sometimes for example a upload is 32 characters .. it wil create a file

blablablablablablablablablablabl.m

ps ..list of unknown files atm

-JnX- Cagliostros Great Escape
-JnX- The Great American Rally
10 Roads to god by The (MM)Tea
3 lap cirquit- grove street.ma
A Bike Ride Through Los Santos
Airplanes - Better than Airpla
Airport Deathmatch By P.A.N.I
alarecherche du pointde passag
Around the town for Rusty Brow
BATTLEFIELD SAN ANDREAS by cod
BlackVipers Massive Assault.ma
Bloodring Derby - LS drainage
bobrace3
BUG map don't downalod it!!!
Coastal Car Combat Coliseum.ma
Cops And Robbers airport DM.ma
Cops VS Robbers version 1.b.ma
Crooks oh noes another bridge
D3ADMA77s Bicycle Venturas Cha
deadly race at a weird buildin
Destruction Derby By Kray-Z.ma
Destruction Derby Stadium 1.0
Destruction Derby STADIUM 2.ma
Destruction-Faggio Vs Cops-Der
Dont download this - Robbery a
family trip from city to ghost
Flat Out & Airport Dogfight.ma
Freefall 01 By P.A.N.I.C.S..ma
funny-way-to-get-fast-dinghyfa
Futura Hot Rod 2 Lap Circut.ma
GD-AroundTheWorldBeta1
Go Fast What The Fuck Is This
GOF - Bloodring a whole new le
GOF - King of the Mountaintop
GOF presents Fuck You Up Derby
GOF presents Grove Streets of
gRiM rEaPeR's Ultimate Race.ma
Hard Way Ride (Made By Robbin)
hellicopter thake an icecream
Hot Coffee Inc. - Mission Poss
if you like pussy vote this ma
Il etait un petit navire....ma
island attack by General Pietj
James Bond in Vegas vs terrori
KWK MONSTER JAM alpha stage.ma
Las Venturas to SanFierro to L
LS 1 FCR-900 by major undersco
LS 1 Turismo by major undersco
LV casino robbery by thinki.ma
Magyar HUNGARY gyorsulasi vers
MG1989s Cops and Robbers V4.ma
MG1989s Escape from Area 69.ma
Mini Metropolis Cops n Robbers
MONSTER NIGHT AT THE DRIVE IN
MONSTER NIGHT FREE ROAM VERSIO
MTA Pursuit - Grove Street Hom
National Lampgoons Vacation.ma
Need For Speed Maraphon Part 1
not another big city beta vers
NoTargeTs Red County Offroad E
NoTargeTs San Fierro Stairclim
NSXs Down x 100000000000000000
old 2 Robbery at Caligula Casi
Old version1 of Hilly Hills.ma
Old version2 of Hilly Hills.ma
Old version3 of Hilly Hills.ma
old2 - Robbery at Caligula Cas
PDS - San Andreas Cop Chase 2
RC fun In the pleasure dome.ma
Rc Vehicle Race Of LS Airport
Road Trip - Around the San And
Rockstar Games Presents-GTA Vi
San Andreas Dakar 2006 - Bossy
small way to get off the polic
smugglers home in the hills.ma
Stunt in the sky p. by Ercandi
Super Sumo Skyscraper Scuffle
The Freeway - Enter the Freewa
The Green Green Glass OLD VERS
The Hunter Becomes The Hunted
The Red Baron hates queers V 1
this map name should not be ac
Thru San Andreas with sports c
Turbo Romero 1 - Racing The De
Turbo Romero 1 Racing The Dead
Turbo Romero 2 Strip Tripping
Vehicle-change map p. by ErCaN
Venturas Getaway(cops+robbers)
watch the fucker coming down b
why they call it the Mountain
Wichtig Rumble At Groove Stree
~{mTaC}~ Clan Map

Link to comment

you rule <3

i cant find back the map i uploaded as test

i guess you already removed it

yay . if not , feel free to remove the

this map name should not be ac...

compliments for the quick fix

although its probably not that hard piece of jscript its really nice to see it being picked up this fast. good job :!:

Link to comment

i cant find back the map i uploaded as test

i guess you already removed it

yay . if not , feel free to remove the

this map name should not be ac...

I allready removed that one yes.

compliments for the quick fix

although its probably not that hard piece of jscript its really nice to see it being picked up this fast. good job :!:

Its what we're supposed to do isnt it? The code isnt jscript but it was quite easy to build a check. Its kinda stupid I didnt think of it before.

Link to comment
Its kinda stupid I didnt think of it before.

its always possible to overlook something.

( ; ) } { . , things while programming for example :D

ah well .. impact was probably below 2% of maps

but nice to have it fixed now :)

Link to comment
  • 2 weeks later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...