[Help] Forgotte Server Banker

Status
Not open for further replies.
OP
Mokerhamer

Mokerhamer

Retired Global Mod
Joined
Aug 6, 2007
Messages
1,766
Best answers
0
Reaction score
35
The transfer part to offline player is only possible using ways I recommend you to NOT use, if you're hosting in Windows at the moment.
What i wanted to do is you are only able to transfer if a player is online.. and the next bug is with withdraw you are able to withdraw more then u have .. need to find out how to fix it..
P.s i dident use DepositId But Deposit 300..
 
Last edited:
OP
Mokerhamer

Mokerhamer

Retired Global Mod
Joined
Aug 6, 2007
Messages
1,766
Best answers
0
Reaction score
35
here works very well
lol is buged ????????????????????????????????
Yes it is bugged.. i think you are just trying to get some posts
 
OP
Mokerhamer

Mokerhamer

Retired Global Mod
Joined
Aug 6, 2007
Messages
1,766
Best answers
0
Reaction score
35
I got olmoost my npc working all things work expect for
Transfer money can anyone help me (You can only transfer if the other players is online)?

Bug Shown:
-None


What's wrong with it then:
If i'm done i'm going to make some minor fixes and released it only on this forum

Bugged Lines:
Code:
elseif getCreatureName(cid}[COLOR="Magenta"]<---- How do i get the name the player said he wants to transfers to?[/COLOR]
and isNumber(getCount(msg)) and talk_state == 4 then
talk_state = 0

if doTransferBankMoney(cid, toplayer, count) then
setPlayerStorageValue(cid,300, oldcount-count)
set[COLOR="magenta"]to[/COLOR]PlayerStorageValue(cid,300, oldcount+count)
I dont think "settoPlayerStorageValue" is going to work since it dosen't exist what can i use instead?

Transfer Part:
Code:
   ------------------------Begin!--transfer--Crap----
            elseif msgcontains(msg, 'transfer') then
			if getPlayerPremiumDays(cid) > 0 then
			selfSay('If you want to transver sai this,   Name   Amount')
					talk_state = 4
			else
				selfSay(bank_need_premium)
				talk_state = 0
			end
---transver--Confurm--Yes
elseif getCreatureName(cid) and isNumber(getCount(msg)) and talk_state == 4 then
talk_state = 0
if doTransferBankMoney(cid, toplayer, count) then
setPlayerStorageValue(cid,300, oldcount-count)
settoPlayerStorageValue(cid,300, oldcount+count)
selfSay('Transver success')
else
selfSay(no_money)
end
------------------------End!--transfer--Crap----
 

Satho

τnє đєv
Joined
Aug 19, 2007
Messages
175
Best answers
0
Reaction score
1
Hmm... i cant see anything wrong with it ;S
 

Jester

Off
Joined
May 28, 2007
Messages
2,659
Best answers
0
Reaction score
28
Location
Romania.
Closed the thread on request of mokerhamer.

Now this npc is released, check the lua board.
 
Status
Not open for further replies.
Top