My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 349: Derma Query - perma - blurs the screen
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by baal...@azmodan.net, May 25, 2011
The below section of code, that deals with the creation of new ranks etc, permanently blurs my screen, and puts the message box for Inherritance up in top left of screen, inaccessible to click on.

Only way to fix blur, is to rejoin server.


[code]self.NewButton.DoClick = function()
		Derma_StringRequest( "Create a rank", "Enter the title of your rank (e.g. Noob):", "", function( title )
			Derma_StringRequest( "Create a rank", "Enter the id of your rank (e.g. noob):", string.gsub( string.lower( title ), " ", "" ), function( id )
				if ( string.find( id, " " ) or string.lower( id ) != id or evolve.ranks[ id ] ) then
					chat.AddText( evolve.colors.red, "You specified an invalid identifier. Make sure it doesn't exist yet and does not contain spaces or capitalized characters." )
				else
					local curRank = self.RankList:GetSelectedItems()[1].Rank
					Derma_Query( "Do you want to derive the settings and privileges of the currently selected rank, " .. evolve.ranks[ curRank ].Title .. "?", "Rank inheritance",
					
						"Yes",
						function()
							RunConsoleCommand( "ev_createrank", id, title, curRank )
						end,
						
						"No",
						function()
							RunConsoleCommand( "ev_createrank", id, title )
						end
					)
				end
			end )
		end )
	end
[/code]

Powered by Google Project Hosting