Jump to content

Moriarty

Members
  • Posts

    135
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Moriarty

  1. Who said I want to kill every damm mvp? And there is other issues that this won't solve.

     

    Dynamic Mobs were created to save a lot of memory, and it does very well, but there are only 70+- Mvps in the game, so if they aren't dynamic, it won't increase your memory use. ( Just a little bit )

    • Upvote 1
  2. I think there should be a option to deactivate dynamic mobs for MvPs.

    There is a lot of scripts that won't work with dynamic mobs ( locate the mob, see if it is alive ).

    And, my other suggestion, is to @reloadscript not respawn this MvPs, because this break any server economy. ( I know this command isn't supposed to be used with a live server, buuuut we always end up using at least some times, when it is better than turn off the server ).

    • Upvote 1
  3. Oh, it would require a lot of dedication and understanding of the emulator source, I'm not the most recomended person to tell you how.

    I would search the packets each one use, the function each one use, try to copy the shop function for the vending one, using the list of itens that was on the vending function.

    Something like that, you'll need to go deep on the code haha

    Good Luck

  4. This is probably defined by the client, therefore you would have to edit the client source code, something nobody but Gravity possess.

    That's why nobody did it.

    Of course you can try to decompile and edit it, but this require specific knowledge that few possess.

    @Edit

    I'm not 100% sure that there is a client condition about this. Thinking deeper, maybe it's possible for you to use a common npc shop, as the player vending?

  5. I'm not sure about this is the correct area, I want YOU people to give ME ideas.

    I'm developing a housing system which I intend to post here for download, but I can't think about new ideas.

    I'm aware of these main features, like PvP Switch, a Dresser, Planting Area, Custom Storage, HP/SP recover by the Bed, and others features that eAmod has.

    Anyone have a new idea? Something that nobody thinked about..

    ( I will create the scripts and the map )

    Thanks.

  6. -	script	Sample	-1,{
    OnInit:
    	setarray .Items[0],1201, 1202, 5035;
    	.size = getarraysize( .Items );
    	end;
    	
    OnPCLogoutEvent:
    	for ( .@i = 1; .@i < 22; .@i++ ) {
    		for ( .@x = 0; .@x < .size; .@x++ ) {
    			if ( getequipid( .@i ) == .Items[ .@x ] ) 
    				unequip( .@i );
    		}
    	}
    	end;
    }
    

    Use this solution then, it will work. The other one wasn't working because of getiteminfo, it was returning a diferent slot probably.

  7. It's just an effect bug then, no need for npc

     

    It's very simple to fix it, just go to 'char' table on your database, and search for chars that have 1201 or 1202 in some of these column

      `weapon` smallint(6) unsigned NOT NULL default '0',

      `shield` smallint(6) unsigned NOT NULL default '0',

      `head_top` smallint(6) unsigned NOT NULL default '0',

      `head_mid` smallint(6) unsigned NOT NULL default '0',

      `head_bottom` smallint(6) unsigned NOT NULL default '0',

      `robe` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0'

    By the id, I guess it will be in 'weapon'.

    Simply replace it for 0.

    @Edit

    Wait, what do you mean by 'effect', the item bonuses or the sprite?

    And, this happens everytime that you log out your char with this equipment equiped?

    Look for a way to fix the bug instead of making an script to 'unbug' it D:

  8. Basically, you want the equip to be unnequiped, right?

    May I ask why you want this behavior? Very odd.

    Anyway, to do it, you would use

    OnPCLogoutEvent:
      if( isequipped(id) ) {
        set @slot
    $,getiteminfo(id,10); // retrieve item slot info, not sure about the var type ($@), don't remember well, it should be string and temporary.

        unequip(@slot$);

     }

    Something like this, if you want to create a list of itens, define an array, and make a loop lace to check all equips

     

  9. Who said that I can't see the ground? What is needed to create this effect means nothing, i'm saying what I think about the final result.

    I'm sorry if you interpreted my post as offensive or rude, it was not my intention.

    Again, why is the ground unlit? You said yourself, "a "modern city" full of life and colors.", and the whole ground is dark?

    And.. why would I care about what other people thinks? I saying my opinion o.O There is no right or wrong here, this is a matter of personal taste. 
    There is basicaly, blue and purple lights on the buildings, to me, its boring, you'll never see something like this in Vegas. And where does this blue/purple lights come from? Are the building emitting light? 


    Well, it's my opinion, you don't have to agree or even accept it. Again, I mean no disrepect at all, you are the best mapper I have ever seen, but I don't think this map is like Vegas at all.

×
×
  • Create New...