Skip to content

Instantly share code, notes, and snippets.

anacondaq

Block or report user

Report or block anacondaq

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cashshop_ui_itemid_as_currency.diff
diff --git a/conf/battle/items.conf b/conf/battle/items.conf
index be5e6448d..ce1e6c1de 100644
--- a/conf/battle/items.conf
+++ b/conf/battle/items.conf
@@ -141,3 +141,11 @@ min_shop_buy: 1
// Minimum sell price of items at a normal shop
// Officially items can be sold for 0 Zeny
min_shop_sell: 0
+
+// Instead of Cashpoints in Cashshop UI (interface)
View test.c
/*==========================================
* Called when attemting to unequip an item from player
* type: @see enum pc_unequipitem_flag
* Return:
* 0 = fail
* 1 = success
*------------------------------------------*/
static int pc_unequipitem(struct map_session_data *sd, int n, int flag)
{
int i, iflag;
View How make players join your server.md

If you want your friends to be able to connect to you, you need to buy a server that will host your emulator and OpenServer.

  1. Click on the link: GET YOUR 50$ for account (or this link)
  2. Register
  3. Load money for VPS
  4. Click on + and create VPS

Guide how to make VPS

@anacondaq
anacondaq / mob.c
Created Oct 27, 2016
announce to all connected to the game members when MVP spawned on the map (need to edit mvp_spawndelayed function) here is complete mvp_spawnedelayed function.
View mob.c
/*==========================================
* mob spawn with delay (timer function)
*------------------------------------------*/
int mob_delayspawn(int tid, unsigned int tick, int id, intptr_t data)
{
struct block_list* bl = map_id2bl(id);
struct mob_data* md = BL_CAST(BL_MOB, bl);
if( md )
{
You can’t perform that action at this time.