[FilterScript] Yet Another House System
#41

* Added a house buying limiter, a player can't buy more than LIMIT_PER_PLAYER houses. Set LIMIT_PER_PLAYER to 0 if you want no limits.
Reply
#42

Quote:
Originally Posted by feheristi97
View Post
* Added a house buying limiter, a player can't buy more than LIMIT_PER_PLAYER houses. Set LIMIT_PER_PLAYER to 0 if you want no limits.
how do this?
Reply
#43

So after updating my MySQL Plugin to the latest one which is R39-5 and compile my gamemode.

this errors shows

Quote:

(2953) : error 035: argument type mismatch (argument 1)
(2979) : error 035: argument type mismatch (argument 1)
(3000) : error 035: argument type mismatch (argument 1)
(3021) : error 035: argument type mismatch (argument 1)
(307 : error 035: argument type mismatch (argument 1)
(4447) : error 035: argument type mismatch (argument 1)
(4664) : error 035: argument type mismatch (argument 1)
(4665) : error 017: undefined symbol "mysql_store_result"
(4666) : error 017: undefined symbol "mysql_free_result"
(5023) : error 035: argument type mismatch (argument 1)
(5862) : error 035: argument type mismatch (argument 1)
(6566) : error 035: argument type mismatch (argument 1)
(7976) : error 035: argument type mismatch (argument 1)
(797 : error 035: argument type mismatch (argument 1)

Here are the sample of the lines with errors
Quote:

mysql_query( gsQuery, THREAD_CHECK_ACCOUNT_USERNAME, playerid );
mysql_query( gsQuery, THREAD_CHECK_ACHEIVEMENTS, playerid );
mysql_query( gsQuery, THREAD_PLAYER_CheckLogin, playerid );
mysql_query( gsQuery, THREAD_CHECK_BANS_LIST, playerid );

When I compile your house filterscript there were no errors only in my gamemode. What should I do?
Reply
#44

I liked the visitors history the most. Great job!
Reply
#45

Sir i got a problem the house is not saving after i restar the server thanks

good job
Reply
#46

Amazing release rootcause this is the kind of house system iv been looking to use.
If you don't mind could i just suggest something for your next update.

Buying or selling a house effects nearby prices by a certain percent
for example buying a house will make nearby houses price raise & selling will make nearby houses price fall slightly.

Keep up the great work sir.
Reply
#47

Quote:
Originally Posted by morris91
View Post
Amazing release rootcause this is the kind of house system iv been looking to use.
If you don't mind could i just suggest something for your next update.

Buying or selling a house effects nearby prices by a certain percent
for example buying a house will make nearby houses price raise & selling will make nearby houses price fall slightly.

Keep up the great work sir.
Stop bumping the topic with your useless replies..

How does this make anysense? Explain..
Reply
#48

Well. As the topic was only last posted in 7 days ago not really a bump but do excuse me expressing my regards to the creator.

And about the suggestion i made, im sure i made it pretty clear already but if you would like to explane further i of course will.. The Last house system i used was GarHouse made by the wonderfull Garsino. He added in a feature were house prices would fall or raise depending on near by houses being bought or sold. So if house A is worth $1,000,000 and house B is worth $2,000,000. And you walked up and bought house B then house A next door price would raise slightly maybe to $1,153,678 or if you sold house B then house A value would drop to below 1million.

I hope that wasnt too much of a read for you.
Oh and by the way, You said "Stop bumping the topic with your useless replies" This is my first reply to this topic.
Reply
#49

Please Add Renting
Reply
#50

I don't think rootcause will give support to his releases anymore.
Reply
#51

i am having problems

Code:
D:\GTA San Andreas\Server\filterscripts\house.pwn(106) : error 001: expected token: ";", but found "-identifier-"
D:\GTA San Andreas\Server\filterscripts\house.pwn(522) : error 017: undefined symbol "YSI_gSHouseKeys"
D:\GTA San Andreas\Server\filterscripts\house.pwn(522) : warning 215: expression has no effect
D:\GTA San Andreas\Server\filterscripts\house.pwn(522) : error 001: expected token: ";", but found "]"
D:\GTA San Andreas\Server\filterscripts\house.pwn(522) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\Server\filterscripts\house.pwn(522) : fatal error 107: too many error messages on one line
Reply
#52

very nice system, I will watch the code
please leave a rep by clicking the star near my message
Reply
#53

I need help

C:\Users\dfaria5\Desktop\house13.pwn(15) : fatal error 100: cannot read from file: "a_mysql"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#54

Quote:
Originally Posted by dfaria5
View Post
I need help

C:\Users\dfaria5\Desktop\house13.pwn(15) : fatal error 100: cannot read from file: "a_mysql"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
You need MySQL plugin: https://sampforum.blast.hk/showthread.php?tid=56564
Reply
#55

Nice
Reply
#56

Good job !

+rep
Reply
#57

Awesome! House system.. i'll try it out.
Reply
#58

Nice house system I will try it.
Reply
#59

up. pls help me. i downloaded files from this link, but still have error

\pawno\include\y_iterate.inc(1) : fatal error 100: cannot read from file: "..\YSI_Internal\y_compilerpass"

and i have this error in this script and another. if i delete files from link i have error from previous post
Reply
#60

i does it, but i still have errors
guys pls help me, please.
\house13.pwn(55 : error 035: argument type mismatch (argument 3)
\house13.pwn(559) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(663) : error 035: argument type mismatch (argument 3)
\house13.pwn(664) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(712) : error 035: argument type mismatch (argument 3)
\house13.pwn(713) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(722) : error 035: argument type mismatch (argument 3)
\house13.pwn(723) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(725) : error 035: argument type mismatch (argument 3)
\house13.pwn(726) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(72 : error 035: argument type mismatch (argument 3)
\house13.pwn(729) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(731) : error 035: argument type mismatch (argument 3)
\house13.pwn(732) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(740) : error 035: argument type mismatch (argument 3)
\house13.pwn(742) : error 017: undefined symbol "mysql_tquery"
\house13.pwn(805) : error 017: undefined symbol "cache_num_rows"
\house13.pwn(811) : error 017: undefined symbol "cache_get_field_content_int"
\house13.pwn(812) : error 017: undefined symbol "max_len"
\house13.pwn(812) : warning 215: expression has no effect
\house13.pwn(812) : error 001: expected token: ";", but found ")"
\house13.pwn(812) : error 029: invalid expression, assumed zero
\house13.pwn(812) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


22 Errors.


mysql_format(SQLHandle, query, sizeof(query), "SELECT * FROM housekeys WHERE Player='%e'", Player_GetName(playerid));
mysql_tquery(SQLHandle, query, "GiveHouseKeys", "i", playerid);

it's 558 and 559
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)