RE: Cloudstone
By the way, if anyone else was getting annoyed having to set charles breakpoints every time you started the game, I whipped up a quick rewrite that automatically inserts the code. And, as I cant figure out how to upload a xml file, I'll just paste it in clear text. Copy it, drop it into your text editor of choice, save it as whatever.xml and import it in charles' rewrite window. Then just turn on rewrites, and whenever you launch cloudstone with charles on, you will have admin access in cloudstone.
P.S. charles is available for windows, mac, and linux.
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.7.0_13" class="java.beans.XMLDecoder">
<array class="com.xk72.charles.tools.rewrite.RewriteSet" length="1">
<void index="0">
<object class="com.xk72.charles.tools.rewrite.RewriteSet">
<void property="active">
<boolean>true</boolean>
</void>
<void property="hosts">
<void property="locationPatterns">
<void method="add">
<object class="com.xk72.charles.lib.DefaultLocationMatch">
<void property="location">
<object class="com.xk72.net.Location">
<void property="host">
<string>kong.cloudstonegame.com</string>
</void>
<void property="path">
<string>/*</string>
</void>
<void property="protocol">
<string>http</string>
</void>
<void property="query">
<string>kongregate_user_id=*</string>
</void>
</object>
</void>
</object>
</void>
</void>
</void>
<void property="name">
<string>enable_admin</string>
</void>
<void property="rules">
<void method="add">
<object class="com.xk72.charles.tools.rewrite.RewriteRule">
<void property="active">
<boolean>true</boolean>
</void>
<void property="matchHeader">
<string></string>
</void>
<void property="matchResponse">
<boolean>true</boolean>
</void>
<void property="matchValue">
<string>xmppServerPort: "5222",</string>
</void>
<void property="newHeader">
<string></string>
</void>
<void property="newValue">
<string>xmppServerPort: "5222", asdfPOIJasdfOIUH:"vnzfdsoziufawe234roa23809a9",</string>
</void>
<void property="replaceType">
<int>2</int>
</void>
<void property="ruleType">
<int>7</int>
</void>
</object>
</void>
</void>
</object>
</void>
</array>
</java>
