| Ultima One  Journeyman
 
  
   Posts: 238
 Likes Given: 7
 Likes Received: 10 in 6 posts
 Joined: Jan 2013
 Reputation: 6
 
 Ultima One
 
  
 | 
			| RE: Online List/Messenger 2.0 
 
				Hey Mord. 
Going to make use of this, but will be running it via Database, assume it is simple enough to add this functionality in, even though you went out of your way to not use it    - Not looked at the code yet, as I will be adding it in a week or so.
 
Also going to look to be able to add items to messages to send gold/items to friends - is this something you would consider adding to your version of it? I would add this then update here with it, but it will have all the sql stuff in it which you don't want. Others may like this feature     (guess it becomes less 'plug-n-play' if you add that though)
			ULTIMA ONE
 The modern, sphere powered Ultima Online server
 |  | 
	| 05-11-2013 12:31 AM |  | 
	
	| ![[+]](images/collapse_collapsed.gif)  
 | 
	
		| Ultima One  Journeyman
 
  
   Posts: 238
 Likes Given: 7
 Likes Received: 10 in 6 posts
 Joined: Jan 2013
 Reputation: 6
 
 Ultima One
 
  
 | 
			| RE: Online List/Messenger 2.0 
 
				Yeh, sending one did take it out (makes sense, but i adapted mine to force them to disable it first). But if you have it Enabled, you could still receive messages - all it did was hide you from the public list.  
Added this under the on=1 for sending a message button to stop you 'replying' to a message in order to contact someone with Private enabled:
 
Code:
 if (<src.tag0.private>)src.sysmessage @,,1 "Private" mode is Enabled, you are not allowed to send messages. Use .private to Disable.
 return 1
 endif
 if (<uid.<src.ctag0.receiver>.tag0.private>)
 src.sysmessage @,,1 <uid.<src.ctag0.receiver>.name> has Privacy Enabled and cannot receive messages at this time.
 return 1
 endif
 
Also just noticed you set a local var here too, then don't use it below - just if you want to update it, dont think it really matters
 
Code:
 local.recipient= <uid.<src.ctag0.receiver>.account>
ULTIMA ONE
 The modern, sphere powered Ultima Online server
 
				
(This post was last modified: 05-11-2013 08:20 AM by Ultima One.)
 |  | 
	| 05-11-2013 08:17 AM |  | 
	
	| ![[+]](images/collapse_collapsed.gif)  
 | 
	
		| Monty  Apprentice
 
  
 Posts: 40
 Likes Given: 0
 Likes Received: 2 in 2 posts
 Joined: Jun 2012
 Reputation: 1
 
 
 
 ![]() 
 | 
			| RE: Online List/Messenger 2.0 
 
				 (06-28-2013 09:05 PM)Monty Wrote:  Hi
 Maybe i do something wrong but i got erron on this line(add friend):
 if (<LIST.<src.account>_friends.FINDELEM <argo.uid>>==-1)
 ...
 
I fixed it myself. If somebody want fix it too or author wants update. 
I hope that the author will not kill me.    
This line 431- 446 delete
 
Code:
 if (<eval <LIST.<src.account>_friends.COUNT>-1> < <ddef.max_friends>)if (<LIST.<src.account>_friends.FINDELEM <argo.uid>>==-1)
 src.sysmessage @,,1 Friend request sent!
 argo.ctag0.friend_request <local.request>
 trysrc <argo.uid> dialog d_friend_request
 return 1
 else
 src.sysmessage @,,1 <argo.name> is already on your friends list.
 return 1
 
 endif
 else
 src.sysmessage @,,1 Your friends list is full
 src.sysmessage @,,1 You must delete someone before you can add a new one
 return 1
 endif
 
and place this
 
Code:
 if <LIST.<src.account>_friends.COUNT>if (<eval <LIST.<src.account>_friends.COUNT>-1> < <ddef.max_friends>)
 if (<LIST.<src.account>_friends.FINDELEM <argo.uid>>==-1)
 src.sysmessage @,,1 Friend request sent!
 argo.ctag0.friend_request <local.request>
 trysrc <argo.uid> dialog d_friend_request
 return 1
 else
 src.sysmessage @,,1 <argo.name> is already on your friends list.
 return 1
 
 endif
 else
 src.sysmessage @,,1 Your friends list is full
 src.sysmessage @,,1 You must delete someone before you can add a new one
 return 1
 endif
 else
 src.sysmessage @,,1 Friend request sent!
 argo.ctag0.friend_request <local.request>
 trysrc <argo.uid> dialog d_friend_request
 return 1
 endif
 C# application developer.
 C/C++,SQL,PLSQL programming.
 Oracle database / information system developer.
 Cooperation for development of new shard.
 |  | 
	| 07-02-2013 09:52 PM |  | 
	
	| ![[+]](images/collapse_collapsed.gif)  
 |