Bale
Minion
I keep getting this error "Reserved word 'element' cannot be a key variable name (SmashLib.ash, line 235)
Wait, what? OCD has nothing to do with SashLib, does it? Why do you bring that up here?
I keep getting this error "Reserved word 'element' cannot be a key variable name (SmashLib.ash, line 235)
Wait, what? OCD has nothing to do with SashLib, does it? Why do you bring that up here?
Well, you need to go to the SmahsLib thread and download a newer version (they are in posts at the end of the thread).
> call scripts\relay_OCD_dB_Manager.ash
All item information is corrupted or missing. Either you have not yet saved any item data or you lost it.
> call scripts\OCD Inventory Control.ash
Taking off everything...
Everything removed.
All item information is corrupted or missing. Whoooah! I hope you didn't lose any data...
Putting on beer helmet...
Equipment changed.
Wielding sword behind inappropriate prepositions...
Equipment changed.
Putting on Danglin' Chad's loincloth...
Equipment changed.
Putting on astral bracer...
Equipment changed.
Putting on tiny plastic Crimbo reindeer...
Equipment changed.
Putting on tiny plastic bitchin' meatcar...
Equipment changed.
OCD Control was unable to obssessively control your entire inventory.
However, when I attempt to load this script in my relay browser, the main game screen where things like combat appear became blank and the script config would not load.
That's not as easy as I would like, but I understand the complaint. I'll figure it out.
int AddQ;
string DefaultInfo;
foreach key in OCDefault {
if(!(OCD contains key) && item_amount(key) > 0) {
AddQ += 1;
DefaultInfo += "<tr><td>" + key + "</td><td>" + OCDefault[key].action + "</td></tr>";
}
}
int curr_items = curr_items();
if(curr_items > 0 && AddQ > 0) {
write("<p>");
if(write_button("defaultdata", "Add default")) {
foreach key in OCDefault
if(!(OCD contains key) && item_amount(key) > 0) OCD[key] = OCDefault[key];
save_ocd();
curr_items = curr_items();
}
write(" Add default information for "+AddQ+" common item"+(AddQ == 1? " that is": "s that are")+" listed below.</p>");
write("<table border=\"0\" cellpadding=\"1\"><tbody><tr><th>Item</th><th>Action</th><r>" + DefaultInfo + "</tbody></table><br />");
}
I modified lines 489 - 502:
It's not doing that for me. What are you trying to send and what is the condition of the person you are sending them to?
If they are in ronin/hardcore, do you have access to the giftshop and meat to spend on a package?
can only send brown paper packages
int pnum = 3;
if (count(goodies) < 3) {
shipping = 50*max(1,count(goodies));
pnum = max(1,count(goodies));
}
if (my_meat() < meat+shipping) return vprint("Not enough meat to send the package.",-2);
// send gift
string url = visit_url("town_sendgift.php?pwd=&towho="+to+"¬e="+message+"&insidenote="+insidenote+"&whichpackage="+pnum+"&fromwhere=0&sendmeat="+meat+"&action=Yep."+itemstring);
It seems that if you are sending more than 2 items, zlib is trying to use an "exactly-three-shaped box" to send packages, which you do not get until your third ascension. That's not good. I'll have to write my own gift sending function until zarqon fixes zlib. Shouldn't be hard to fix.