Tiles

I’m wondering if there is a trick or code someone may know to force a player to download the tile set when they connect, or enter a level.

Thanks

Shouldn’t it do that by default?

Let me add 1 more detail, I’m updated the same file over and over again and want it to download over the existing older tile graphic.

Delete the original in the uploads folder then re-upload. Try it. Might work I had similar troubles the other day.

I can get it to update for me by “Viewing” the image via RC but I’m afraid it doesn’t work for clients without RC Access.

Good tip, thanks Chicken.

I cheated a force download of it by making the image more “active”.
Some reason, graal has always treated tileset images as something passive, I make it more active by say, hiding a tiny showimgpart of the tileset out of the client’s view and then hiding it. This sends out a more active request to check on the damn file.

Such as this?

if (playerenters){
  showimg 0,el_tilesv2.png,60,60;
}

pretty much but I don’t think an index of 0 would be allowed.

I just did seteffect and made the alpha 0, but im thinking i may change it now because who knows the alpha uses more memory or something…

[QUOTE=Chicken;11635]Delete the original in the uploads folder then re-upload. Try it. Might work I had similar troubles the other day.[/QUOTE]

Also, if all else fails, or if you are lazy … just tell the individual to delete their server Tile Defs, and relog. :smiley: … lol

[QUOTE=RileyFiery;11669]Also, if all else fails, or if you are lazy … just tell the individual to delete their server Tile Defs, and relog. :smiley: … lol[/QUOTE]
why just don’t add removetiledefs; in the script. lol

// NPC made by Spyder
if (playerenters || created){
  removetiledefs;
  addtiledef2 el_tilesv2.png,outside,0,0;
  setcoloreffect 0,0,0,0;
}

[QUOTE=Cadavre;11702]why just don’t add removetiledefs; in the script. lol[/QUOTE]

Actually … I did that already. xD
It still doesn’t just update.

Riley try the code just above you’re post, it should work for ya. Seems to be working for me.