[WIP] Modern Housing (using instances)

raPalooza~

New member
Messages
76
Points
0
Age
36
Location
Innovation
Emulator
Modern Housing
                                               Instace House
 
 
The housing system will somehow award players with furnitures decorations, so they can arrange it as they want and then show their house to the word!


More in depth:
When opening the instance the party leader loads the Char_id into the housing database table, where it contains all the furniture custom npc id/placement/ifplaced information linked to his Char_id.
through scripting, copied npcs inside the instance map (1@hous,0,0,4 duplicate(Furniture) Furniture#0 HIDDEN_NPC1) are moved, rotated and "disguised" based on information of the housing database.

I'm also creating a second Database table that holds all the global information of furniture (names,npc_id,price?,rarity,...)
 
The reward part still a mistery, i'm thinking of a function that would insert the furniture into the database ;] and that function could be set on usables, questboards, equips? ;]
Progression:
 House Map                                                   100%
 Furniture Loading                                       100%
 Furniture Control                                            0%
 Furniture Reward                                            0%
                                                           Furniture Spriting                                        (currently using ones from Habbo Hotel game)
Instance Control                                          70%
A screenshot of the current state:
6sPkByP.jpg
A little video of how development is going




To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
Problems :[
- No easy way(found) of controling where you want your furniture to be.
- As they are custom_npcs there's an annoying problem of mousovering, imagine a house full of furniture you would keep clicking the npc and not the cell to move( even with
end;) ;[
- The sprites that i ripped borrowed from Habbo are only the from view, so a table with chairs arround would not be possible (yet?)

Hope to hear some good ideas to improve the project, and also a little help if someone is interested!
Let's go housing! :*


 
Last edited by a moderator:
hmm, I announced that exactly system in my server a month ago, and seeing your npc chat name, I can tell you are Brazilian too, and I don't believe it's just a coincidence, but ok. Well, this is why I'm not more giving news to my players about my server, many people are copying what I'm announce before I launch the server. Anyway, good look with the. The map it's more nice than mine after all

 
Last edited by a moderator:
You can't be the only one @@Zell, I've actually thought about this idea also using Instances =P
The system is exactly what I show in my board. If he isn't Brazilian I wouldn't say nothing. But, anyway, I don't care about this, my system is more complete anyway and finished, so whatever, I wished good luck for him too

 
Great thing, I was too thinking of something like this, but I was too occupied with something else..

 
@@Aeromesi
Yeah! The Sims inspired me a lot! Ragnarok always used the side cuts on the walls but i went "the sims mode" on creating an outside for it, so we may get outside decorations as well ;] (farming minigame?)

@@Zell
Sup man, we are all developers here... I'm brazilian indeed , eae tranquilo?, good that you have the system already! I've been on the "creation" part of ragnarok for a while, not playing anymore, so I'm sure it's a coincidence. Maybe a happy one...
default_wacko.png
 

@Topic
Pointing fingers and beeing cocky is a bad way of starting any conversation on any topic, as you all must know.

@Update
Planning on working with @@Dastgir for a free release!The kraken

 
@PTBR

Bem, se foi uma coincidência como disse, tudo bem. Por mais que seja uma baita, leia o tópico com meu sistema e entenda o meu motivo http://board.rotakusociety.com/index.php?/topic/25-3108-sistema-de-casas/#entry159

Foi bastante coincidência, tem que admitir, certo?

Desculpe se lhe acusei, mas é que todo sistema que eu anuncio em meu servidor alguém começa a fazer por "coincidência" exatamente igual alguns dias depois, tanto que nem anúncio mais nada por causa disso.

Meu problema nunca foi alguém copiar um sistema pro servidor pessoal dele, é de distribuir pra todos,,fazendo com que o sistema não tenha mais nada de exclusivo, mas se você diz que foi coincidência, então estou de boa. Foi bom que até vou reformular algumas coisas hoje a noite pra deixar o sistema melhor pra não ficarem achando que não fiz o meu.

@ENG

Well, if it was a coincidence as you said , all right. Read the topic with my system and understand my Reason http://board.rotakusociety.com/index.php?/topic/25-3108-sistema-de-casas/#entry159

It was quite a coincidence , have to admit , right?

Sorry if I accused you, but is that any system that I announce my server in someone starts making by "coincidence" just like a few days later, so that not notice anything because of it.

My problem was never anyone copy a system for personal server. It is to distribute to all, causing the system has not anything unique, but if you say it was a just a coincidence, so I'm good with you, after all you are free to script and release whatever you want. It was good that I'm going to rework some things tonight to make my system better and unique than this.

It was quite a coincidence , have to admit , right

 
Last edited by a moderator:
Several other games limit the amount of furniture you can have to at most 10-20 pieces, eliminating the mouseover issue if one has tons of furniture.

Or, you can just not have user movable furniture, and instead have 20 different house designs that users can choose from, and a way for admins to make more is to just modify the script, therefore keeping it fresh between house owners.

Users should be able to purchase a vast number of different upgrades....such as:

* A refiner that will allow refining equipment inside the house for a slightly lower failure rate.

* A shop that sells some potions and other things to aid in questing for slightly cheaper than if you went to Prontera to grab them.

* A storage NPC that perhaps allows you to access your storage

* A heal/buff NPC if the server already doesn't have one to buff you for some zeny.

* A way to "work" in your house (just by idling). The longer you idle, you gain some XP/JP bonuses to use while questing.

* Storage chests inside your house for a little extra storage

* An NPC that will grant you special potions or bonuses or just items for talking to them X number of times per day as a chance thing. Talk to them enough, the chances of getting rewarded is higher.

 
@@Zell , English only..

 
Last edited by a moderator:
@Update

A little video of how development is going:





To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

 
Something Extra:

screene_BG000.jpg


 
maybe use your character and atcommands to position
That's what i am thinking , like stay at position you want npc, type some command, and choose npc name.

 
maybe use your character and atcommands to position
That's what i am thinking , like stay at position you want npc, type some command, and choose npc name.

Code:
house,0,0,5	script	BED	422,{ query_sql(QUERY TO GET THE PLAYER ID WHO IS THE OWNER ,.@leader );if(.@leader!=getcharid(0)){message strcharinfo(0),"- I can't use this object.";end;} if(@H_BED==1){switch(select("- Leave Object")){case 1:set @H_BED,0;	getmapxy(.@mapname$,.@mapx,.@mapy,0);query_sql( UPDATE NEW X AND Y FROM BED );}end;} switch(select("Move Object")){ case 1:break;} set @H_BED,1;npcspeed 10;	do {	getmapxy(.@mapname$,.@mapx,.@mapy,0);		sleep2 100;	getmapxy(.@mapname2$,.@map2x,.@map2y,0);	if(.@mapx==.@map2x && .@map2y==.@mapy){	npcstop;	}else{	npcwalkto  .@mapx-1,.@mapy;	}	} while (@H_BED == 1 && .@mapname2$==.@mapname$);	end;} end;}
 
Last edited by a moderator:
maybe use your character and atcommands to position
That's what i am thinking , like stay at position you want npc, type some command, and choose npc name.

house,0,0,5 script BED 422,{ query_sql(QUERY TO GET THE PLAYER ID WHO IS THE OWNER ,.@leader );if(.@leader!=getcharid(0)){message strcharinfo(0),"- I can't use this object.";end;} if(@H_BED==1){switch(select("- Leave Object")){case 1:set @H_BED,0; getmapxy(.@mapname$,.@mapx,.@mapy,0);query_sql( UPDATE NEW X AND Y FROM BED );}end;} switch(select("Move Object")){ case 1:break;} set @H_BED,1;npcspeed 10; do { getmapxy(.@mapname$,.@mapx,.@mapy,0); sleep2 100; getmapxy(.@mapname2$,.@map2x,.@map2y,0); if(.@mapx==.@map2x && .@map2y==.@mapy){ npcstop; }else{ npcwalkto  .@mapx-1,.@mapy; } } while (@H_BED == 1 && .@mapname2$==.@mapname$); end;} end;}
we have the system already ready, we are just discussing npc benefits.
default_smile.png


 
maybe use your character and atcommands to position
That's what i am thinking , like stay at position you want npc, type some command, and choose npc name.

house,0,0,5 script BED 422,{ query_sql(QUERY TO GET THE PLAYER ID WHO IS THE OWNER ,.@leader );if(.@leader!=getcharid(0)){message strcharinfo(0),"- I can't use this object.";end;} if(@H_BED==1){switch(select("- Leave Object")){case 1:set @H_BED,0; getmapxy(.@mapname$,.@mapx,.@mapy,0);query_sql( UPDATE NEW X AND Y FROM BED );}end;} switch(select("Move Object")){ case 1:break;} set @H_BED,1;npcspeed 10; do { getmapxy(.@mapname$,.@mapx,.@mapy,0); sleep2 100; getmapxy(.@mapname2$,.@map2x,.@map2y,0); if(.@mapx==.@map2x && .@map2y==.@mapy){ npcstop; }else{ npcwalkto  .@mapx-1,.@mapy; } } while (@H_BED == 1 && .@mapname2$==.@mapname$); end;} end;}
we have the system already ready, we are just discussing npc benefits.
default_smile.png
I'm just giving another way to move npcs like you are talking, its better than use @commands

I quoted you:

maybe use your character and atcommands to position
That's what i am thinking , like stay at position you want npc, type some command, and choose npc name.
 
Last edited by a moderator:
Back
Top