ID:142255
 
My rsc shrunk 7.5 megabytes for no reason and i noticed when i ran it it said bad icon operation ...... "Bad" Is usually linked to rsc problems right?
You may have done a clean compile, which deletes and recreates the RSC. That likely wouldn't be the cause of the error, though. Bad icon operation means simply that: a proc or operation on an icon is doing it wrong.
In response to Popisfizzy
But thats just it i haven't used one Icon Proc
In response to Choka
It's still possible, since some general operators have some icon-related functions. But maybe your RSC file got somehow corrupted for one reason or another - try deleting it then recompiling.
In response to Kaioken
I can easily run it in dream daemon and seeker when its not inside of a zip, but when inside of the zip it gives me the errors. Why?

proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
proc name: Civillian Randomization (/mob/proc/Civillian_Randomization)
runtime error: bad icon operation
proc name: Random Clothing Civilians (/mob/proc/Random_Clothing_Civilians)
runtime error: bad icon operation
In response to Choka
In order for it to work properly, you need to extract all the needed files from the archive, since they are needed. Thing is, executing a common file "directly" from the zip causes the archiving program to extract that file to a temporary folder and run it - but you need all the files, not just the DMB. Otherwise, it's the same as not having a RSC file at all.
In response to Kaioken
The RSC is in there
In response to Choka
Please be more detailed and specific, because there is no useful info I can accurately gather from your post. The RSC is where? In an extracted folder, or in the zip? If it's the latter, than you need to follow these steps to manually execute a game from a zip (note players downloading a zip from the hub don't need to do this):
1) Extract all the files in the zip to the same directory.
2) From that directly, run the extracted DMB file through either Dream Seeker or Dream Daemon.
In response to Kaioken
heres the code
mob/Civilian
Village="Leaf"
guard = 1
health = 908340958243000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
NPC=1
exp = 1
NPC =1
Move()
..()
New()
..()
spawn() src.NPCAII()
spawn() src.Evenk()
spawn() src.Civillian_Randomization()
spawn() src.Random_Clothing_Civilians()
mob/proc
Civillian_Randomization()
set background = 1
var/gender = rand(1,2)
if(gender == 1)
src.sex = "male"
src.icon = 'Base white.dmi'
var/hair = rand(1,4)
if(hair == 1)
var/ic = 'NarutoH.dmi'
var/r = rand(1,50)
var/b = rand(1,50)
var/g = rand(1,50)
ic += rgb(r,g,b)
src.overlays += ic
if(hair == 2)
var/ic = 'SasukeH.dmi'
var/r = rand(1,50)
var/b = rand(1,50)
var/g = rand(1,50)
ic += rgb(r,g,b)
src.overlays += ic
if(hair == 3)
var/ic = 'leeH.dmi'
var/r = rand(1,50)
var/b = rand(1,50)
var/g = rand(1,50)
ic += rgb(r,g,b)
src.overlays += ic
if(hair == 4)
var/ic = 'YondaimeH.dmi'
var/r = rand(1,50)
var/b = rand(1,50)
var/g = rand(1,50)
ic += rgb(r,g,b)
src.overlays += ic
if(gender == 2)
src.sex = "male"
src.icon = 'Female white.dmi'
var/hhair = rand(3,4)
if(hhair == 3)
var/ic = 'Hinata Hair.dmi'
var/r = rand(1,250)
var/b = rand(1,250)
var/g = rand(1,250)
ic += rgb(r,g,b)
src.overlays += ic
if(hhair == 4)
var/ic = 'SakuraH.dmi'
var/r = rand(1,250)
var/b = rand(1,250)
var/g = rand(1,250)
ic += rgb(r,g,b)
src.overlays += ic
Random_Clothing_Civilians()
set background = 1
var/pants = 'pants.dmi'
var/r = rand(1,100)
var/b= rand(1,100)
var/g=rand(1,50)
pants += rgb(r,g,b)
src.overlays += pants
var/shirt = 'shirt.dmi'
var/rr = rand(1,100)
var/bb= rand(1,100)
var/gg=rand(1,50)
if(src.sex == "male")
shirt += rgb(rr,gg,bb)
src.overlays += shirt
var/shirtt = rand(1,20)
if(shirtt == 2)
src.overlays += /obj/Shades
if(shirtt == 3)
src.overlays += /obj/Neijisuit
if(shirtt == 4)
src.overlays += /obj/RockSuit
src.overlays += /obj/EChuuninVest
if(shirtt == 5)
src.overlays += /obj/LeafSuit
src.overlays += /obj/ChuuninVest
if(shirtt == 7)
src.overlays += /obj/RChuuninVest
src.overlays += /obj/RainSuit
if(shirtt == 8)
src.overlays += /obj/SChuuninVest
src.overlays += /obj/SandSuit
if(shirtt ==8)
src.overlays += /obj/SasukeSuit
if(shirtt==9)
src.overlays += /obj/Bug_Gourd
if(shirtt == 10)
src.overlays += /obj/KabutoSuit
if(shirtt == 11)
src.overlays += /obj/KibaS
if(shirtt == 12)
src.overlays += /obj/ShinoS
src.overlays += /obj/Bug_Gourd
src.overlays += /obj/Shades
if(shirtt == 13)
src.overlays += /obj/RockSuit
src.overlays += /obj/EChuuninVest
if(shirtt == 14)
src.overlays += /obj/LeafSuit
src.overlays += /obj/ChuuninVest
if(shirtt == 16)
src.overlays += /obj/RChuuninVest
src.overlays += /obj/RainSuit
if(shirtt == 17)
src.overlays += /obj/SChuuninVest
src.overlays += /obj/SandSuit
if(shirtt == 18)
src.overlays += /obj/Bug_Gourd
src.overlays += /obj/Shades
if(shirtt == 10)
src.overlays += /obj/KabutoSuit

Those procedures are the cause of the problem
In response to Kaioken
Apperantly when my brother was coding the procedures with me he experienced something saying that the procedures were functioning on turfs instead of the mobs and it made him crash and now its doing random clothing for dirt and grass
In response to Choka
First, that health is a UNUSUALLY high value, unneeded too.

Second, you should look up switch(). *points at the if()'s at the end of the post*

Thirdly, you should look up boolean variables as well.

If it wasn't you that coded that, then get whoever it did to do so.
In response to Choka
That didn't answer Kaoiken's question, nor did your other post. If the RSC is in the zip file, then it's useless. It needs to be extracted from it.